Skip to content

Commit e99a865

Browse files
authored
Update weather command to use location variable
should probably use the weather script but that would require making it more general purpose instead of just for waybar
1 parent 6bf2774 commit e99a865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Configs/.local/share/hyde/hyprlock.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $PROFILE_IMAGE = $XDG_CACHE_HOME/hyde/landing/profile.png
1010
$GREET_TEXT =echo "Good $(date +%H | awk '{if ($1 < 12) print "Morning  "; else if ($1 < 18) print "Afternoon  "; else print "Evening  "}')"
1111
# $CAVA_CMD= { [ -f /tmp/hyprlock-cava ] && tail -n 1 /tmp/hyprlock-cava 2>/dev/null ;} || { hyprctl dispatch exec "hyprlock.sh cava && rm /tmp/hyprlock-cava" ;}
1212
$CAVA_CMD= echo Not supported by Hyprlock
13-
$WEATHER_CMD = echo "<b>Feels like<big> $(curl -s 'wttr.in?format=%t' | tr -d '+') </big></b>"
13+
$WEATHER_CMD = echo "<b>Feels like<big> $(curl -s 'https://wttr.in/$WEATHER_LOCATION?format=%t' | tr -d '+') </big></b>"
1414
$BATTERY_ICON = battery.sh icon
1515

1616
# hyprlang noerror true

0 commit comments

Comments
 (0)