summaryrefslogtreecommitdiffstats
path: root/.scripts/cron
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/cron')
-rwxr-xr-x.scripts/cron/getforecast6
1 files changed, 0 insertions, 6 deletions
diff --git a/.scripts/cron/getforecast b/.scripts/cron/getforecast
deleted file mode 100755
index 25386d4..0000000
--- a/.scripts/cron/getforecast
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-# 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" > /tmp/weatherreport
-pkill -RTMIN+5 i3blocks && notify-send "🌞 Weather forecast updated."