diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-03-31 22:22:51 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-03-31 22:22:51 -0400 |
| commit | 4139a6a0e7fd463ddaac98b9628702e20c8f3424 (patch) | |
| tree | ab251232d8bb00f43ffafaa6dd8f89683e93a309 /.scripts/cron | |
| parent | d0d9ae45e18dad2af23bbe697792644cb0db699e (diff) | |
| download | eibhear-4139a6a0e7fd463ddaac98b9628702e20c8f3424.tar.gz eibhear-4139a6a0e7fd463ddaac98b9628702e20c8f3424.tar.zst eibhear-4139a6a0e7fd463ddaac98b9628702e20c8f3424.zip | |
weather scripts integrated
Diffstat (limited to '.scripts/cron')
| -rwxr-xr-x | .scripts/cron/getforecast | 6 |
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." |
