From 692a7cbb0b85b737029a65909fc5563f1a9d8429 Mon Sep 17 00:00:00 2001 From: BardofSprites <89086143+BardofSprites@users.noreply.github.com> Date: Thu, 23 Apr 2026 00:17:21 -0400 Subject: fix --- bin/.local/bin/scripts/status/weather | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/.local') diff --git a/bin/.local/bin/scripts/status/weather b/bin/.local/bin/scripts/status/weather index 67ae84a..f65870a 100755 --- a/bin/.local/bin/scripts/status/weather +++ b/bin/.local/bin/scripts/status/weather @@ -7,7 +7,7 @@ url="${WTTRURL:-wttr.in}" weatherreport="${XDG_CACHE_HOME:-$HOME/.cache}/weatherreport" # Get a weather report from 'wttr.in' and save it locally. -getforecast() { curl -sf "$url/Louisville?M" > "$weatherreport" || exit 1; } +getforecast() { curl -sf "$url/Louisville?m" > "$weatherreport" || exit 1; } # Forecast should be updated only once a day. checkforecast() { @@ -39,7 +39,7 @@ showweather() { } case $BLOCK_BUTTON in - 1) setsid -f "$TERMINAL" -n "floatterm" -g "165x18" -e less ~/.cache/weather ;; + 1) setsid -f "$TERMINAL" -n "floatterm" -g "150x35" -e less -Sfr "$weatherreport" ;; 2) getforecast && showweather ;; 3) notify-send "🌈 Weather module" "\- Left click for full forecast. - Middle click to update forecast. -- cgit v1.2.3