diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-01-02 11:09:31 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-01-02 11:09:31 -0500 |
| commit | ef3ee7ebc8cdeadaa90f6660073068557aa8014e (patch) | |
| tree | 894a3b40647b878aaa93bab006b470cac142988c /.scripts/cron/getforecast | |
| parent | bcbccce6c0a9762170d5598b085a7109ff5c1069 (diff) | |
| download | eibhear-ef3ee7ebc8cdeadaa90f6660073068557aa8014e.tar.gz eibhear-ef3ee7ebc8cdeadaa90f6660073068557aa8014e.tar.zst eibhear-ef3ee7ebc8cdeadaa90f6660073068557aa8014e.zip | |
weather report also moved to /tmp/
Diffstat (limited to '.scripts/cron/getforecast')
| -rwxr-xr-x | .scripts/cron/getforecast | 2 |
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." |
