summary refs log tree commit diff
path: root/.config/waybar/modules/weather.sh
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-05-31 16:40:10 +0200
committerRobert Günzler <r@gnzler.io>2021-05-31 16:43:35 +0200
commitf9a2f1f9b6bb223dd1f52cf78392c2dd640730f3 (patch)
tree3faf261fe5ae95e5dead6ee01936b201291319ba /.config/waybar/modules/weather.sh
parentae795bd39751b6c385193c1fc99a0f88e399e2d6 (diff)
waybar: various updates
* add extension to config file
* covid: use tail vs head for historical data
* remove network.vpn
* gamma: change name from gammastep
Diffstat (limited to '.config/waybar/modules/weather.sh')
-rwxr-xr-x.config/waybar/modules/weather.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/waybar/modules/weather.sh b/.config/waybar/modules/weather.sh
index 0b83de1..929732b 100755
--- a/.config/waybar/modules/weather.sh
+++ b/.config/waybar/modules/weather.sh
@@ -5,7 +5,8 @@ set -e
 loc=$1
 if [ -z "${loc}" ]; then
 	# use /etc/localtime
-	loc=$(basename "$(readlink -f /etc/localtime)")
+	# loc=$(basename "$(readlink -f /etc/localtime)")
+	loc="${HOME_LAT},${HOME_LON}"
 fi
 
 if [ -n "$REPORT" ]; then