summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/weather
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/statusbar/weather')
-rwxr-xr-x.local/bin/statusbar/weather3
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/statusbar/weather b/.local/bin/statusbar/weather
index 4241a51..4a11673 100755
--- a/.local/bin/statusbar/weather
+++ b/.local/bin/statusbar/weather
@@ -1,4 +1,5 @@
-#!/usr/bin/env sh
+#!/bin/sh
+
location="$1"; [ -z "$location" ] || { location="$location+" && rm -f "$HOME/.local/share/weatherreport" ;}
getforecast() { ping -q -c 1 1.1.1.1 >/dev/null || exit 1