summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-03-07 15:06:57 -0500
committerLuke Smith <luke@lukesmith.xyz>2021-03-07 15:06:57 -0500
commit6bbaa969033b6e4d5ae7a18fde754f7323c7e4cb (patch)
tree670580f704516a84c1801f443a6e3b96e251c94d /.local/bin/statusbar
parentbc553f06be4635ad24ee3cc499523050a4ed389d (diff)
downloadeibhear-6bbaa969033b6e4d5ae7a18fde754f7323c7e4cb.tar.gz
eibhear-6bbaa969033b6e4d5ae7a18fde754f7323c7e4cb.tar.zst
eibhear-6bbaa969033b6e4d5ae7a18fde754f7323c7e4cb.zip
fix
Diffstat (limited to '.local/bin/statusbar')
-rwxr-xr-x.local/bin/statusbar/sb-forecast1
1 files changed, 0 insertions, 1 deletions
diff --git a/.local/bin/statusbar/sb-forecast b/.local/bin/statusbar/sb-forecast
index 1c9c0ff..7b8416e 100755
--- a/.local/bin/statusbar/sb-forecast
+++ b/.local/bin/statusbar/sb-forecast
@@ -6,7 +6,6 @@
# If we have internet, get a weather report from wttr.in and store it locally.
# You could set up a shell alias to view the full file in a pager in the
# terminal if desired. This function will only be run once a day when needed.
-LOCATION=''
weatherreport="${XDG_DATA_HOME:-$HOME/.local/share}/weatherreport"
getforecast() { curl -sf "wttr.in/$LOCATION" > "$weatherreport" || exit 1 ;}