summaryrefslogtreecommitdiffstats
path: root/.scripts/cron/getforecast
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/cron/getforecast')
-rwxr-xr-x.scripts/cron/getforecast2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/cron/getforecast b/.scripts/cron/getforecast
index 2760c89..25386d4 100755
--- a/.scripts/cron/getforecast
+++ b/.scripts/cron/getforecast
@@ -2,5 +2,5 @@
# Updates weather forecast
ping -q -w 1 -c 1 "$(ip r | grep default | tail -1 | cut -d ' ' -f 3)" >/dev/null || exit
location="$1"; [ -z "$location" ] || location="$location+"
-curl -s "wttr.in/$location" > ~/.weatherreport
+curl -s "wttr.in/$location" > /tmp/weatherreport
pkill -RTMIN+5 i3blocks && notify-send "🌞 Weather forecast updated."