From 4139a6a0e7fd463ddaac98b9628702e20c8f3424 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 31 Mar 2019 22:22:51 -0400 Subject: weather scripts integrated --- .scripts/cron/getforecast | 6 ------ 1 file changed, 6 deletions(-) delete mode 100755 .scripts/cron/getforecast (limited to '.scripts/cron') 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." -- cgit v1.3.1