summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <Luke Smith>2022-07-08 13:02:08 -0400
committerLuke Smith <Luke Smith>2022-07-08 13:02:08 -0400
commitae7fa347c23e9d5fecf39bdc9cd16662d07fd875 (patch)
tree5ffbe269848399448078dfd0cc9ddc2c2c67412e
parent9cfdaf901d27766bbcddbcf685fd3052c9617483 (diff)
parentf1e68ed533d4cd31996f9cfb0efc3be4ec4f3ff1 (diff)
downloadeibhear-ae7fa347c23e9d5fecf39bdc9cd16662d07fd875.tar.gz
eibhear-ae7fa347c23e9d5fecf39bdc9cd16662d07fd875.tar.zst
eibhear-ae7fa347c23e9d5fecf39bdc9cd16662d07fd875.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
-rwxr-xr-x.local/bin/statusbar/sb-forecast2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/sb-forecast b/.local/bin/statusbar/sb-forecast
index 7b8416e..45584c5 100755
--- a/.local/bin/statusbar/sb-forecast
+++ b/.local/bin/statusbar/sb-forecast
@@ -6,7 +6,7 @@
# 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.
-weatherreport="${XDG_DATA_HOME:-$HOME/.local/share}/weatherreport"
+weatherreport="${XDG_CACHE_HOME:-$HOME/.cache}/weatherreport"
getforecast() { curl -sf "wttr.in/$LOCATION" > "$weatherreport" || exit 1 ;}
# Some very particular and terse stream manipulation. We get the maximum