aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/sb-forecast
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-30 16:19:05 +0300
committerawy <awy@awy.one>2024-11-30 16:19:05 +0300
commit18497419838d63c09fa86ed2217b94b7a2b2b32a (patch)
treeac962e680ffa19cab329edf33d6a3ba256d3437f /.local/bin/statusbar/sb-forecast
parent04a706bf3c225fccd11cc3821f36ffed5a30cf65 (diff)
icons
Diffstat (limited to '.local/bin/statusbar/sb-forecast')
-rwxr-xr-x.local/bin/statusbar/sb-forecast10
1 files changed, 5 insertions, 5 deletions
diff --git a/.local/bin/statusbar/sb-forecast b/.local/bin/statusbar/sb-forecast
index d0e5326..f7df265 100755
--- a/.local/bin/statusbar/sb-forecast
+++ b/.local/bin/statusbar/sb-forecast
@@ -34,17 +34,17 @@ readfile() { weatherdata="$(cat "$weatherreport")" ;}
showweather() {
readfile
- printf "rain: %s min: %s° max: %s°\n" "$(getprecipchance)" $(getdailyhighlow)
+ printf " %s  %s°  %s°\n" "$(getprecipchance)" $(getdailyhighlow)
}
case $BLOCK_BUTTON in
1) setsid -f "$TERMINAL" -e less -Sfr "$weatherreport" ;;
2) getforecast && showweather ;;
- 3) notify-send "🌈 Weather module" "\- Left click for full forecast.
+ 3) notify-send "  Weather module" "\- Left click for full forecast.
- Middle click to update forecast.
-☔: Chance of rain/snow
-🥶: Daily low
-🌞: Daily high" ;;
+  : Chance of rain/snow
+  : Daily low
+  : Daily high" ;;
8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
esac