summary refs log tree commit diff
path: root/.config/waybar/modules/weather.sh
diff options
context:
space:
mode:
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