summaryrefslogtreecommitdiff
path: root/ar/.local/bin/statusbar/sb-forecast
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.local/bin/statusbar/sb-forecast')
-rwxr-xr-xar/.local/bin/statusbar/sb-forecast8
1 files changed, 4 insertions, 4 deletions
diff --git a/ar/.local/bin/statusbar/sb-forecast b/ar/.local/bin/statusbar/sb-forecast
index d9dded0..063c8e5 100755
--- a/ar/.local/bin/statusbar/sb-forecast
+++ b/ar/.local/bin/statusbar/sb-forecast
@@ -59,7 +59,7 @@ gethightemp() { jq -r '.weather[0].hourly[].tempC' "$weatherreportjson" | sort -
gethumidity() {
humidity=$(get_nearest_hourly | jq -r '.humidity')
case "$humidity" in
- [0-9] | [1-2][0-9]) echo "🏜️: $humidity%" ;;
+ [0-9] | [1-2][0-9]) echo "🏜: $humidity%" ;;
[3-4][0-9]) echo "🌲: $humidity%" ;;
[5-6][0-9]) echo "πŸ’§: $humidity%" ;;
[7-8][0-9]) echo "πŸ’¦: $humidity%" ;;
@@ -351,7 +351,7 @@ case $BLOCK_BUTTON in
πŸ₯Ά: Daily lowest temperature
πŸ₯΅: Daily highest temperature"
notify-send "$(todayweather)"
- notify-send "πŸ—ΊοΈ Doppler RADAR module" "\- Middle click for local Doppler RADAR
+ notify-send "πŸ—Ί Doppler RADAR module" "\- Middle click for local Doppler RADAR
- Shift + middle click to update RADAR location
After $secs seconds, new clicks will also automatically update the doppler RADAR"
;;
@@ -360,6 +360,6 @@ After $secs seconds, new clicks will also automatically update the doppler RADAR
8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
esac
-checkforecast "$weatherreport" "3600" || { getweatherreport && pkill -RTMIN+15 "${STATUSBAR:-dwmblocks}" && sleep 3; }
-checkforecast "$weatherreportjson" "86400" || { getweatherreportjson && pkill -RTMIN+15 "${STATUSBAR:-dwmblocks}" && sleep 3; }
+checkforecast "$weatherreport" "3600" || { getweatherreport && pkill -RTMIN+13 "${STATUSBAR:-dwmblocks}" && sleep 3; }
+checkforecast "$weatherreportjson" "86400" || { getweatherreportjson && pkill -RTMIN+13 "${STATUSBAR:-dwmblocks}" && sleep 3; }
showweather