From ef3ee7ebc8cdeadaa90f6660073068557aa8014e Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Wed, 2 Jan 2019 11:09:31 -0500 Subject: weather report also moved to /tmp/ --- .scripts/cron/getforecast | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.scripts/cron/getforecast') 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." -- cgit v1.3.1