weather report also moved to /tmp/
This commit is contained in:
1 parent
bcbccce6c0
commit
ef3ee7ebc8
2 files changed
+4
-4
No files matched your search
@@ -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."
|
||||
Reference in new issue
Block a user