diff options
Diffstat (limited to 'bin/.local')
| -rwxr-xr-x | bin/.local/bin/scripts/status/weather | 4 |
1 files changed, 2 insertions, 2 deletions
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. |
