diff options
author | awy <awy@awy.one> | 2025-07-30 23:35:30 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2025-07-30 23:35:30 +0300 |
commit | 40bd9e3f5693963a31289360fe1622f308d51a0d (patch) | |
tree | b28802709f1553b1d28b441a9fd648fbb8a36501 /.local | |
parent | 343099a8ef574a6c45cc817ea5ed233ba07ba3bc (diff) | |
download | hyprdots-40bd9e3f5693963a31289360fe1622f308d51a0d.tar.gz |
waybar
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/statusbar/sb-weather | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/.local/bin/statusbar/sb-weather b/.local/bin/statusbar/sb-weather index d5fa97b..50b789a 100755 --- a/.local/bin/statusbar/sb-weather +++ b/.local/bin/statusbar/sb-weather @@ -44,12 +44,9 @@ showweather(){ ;; rain) case 1 in - $((rainchance >= 90)) ) class="ninety" ;; - $((rainchance >= 70)) ) class="seventy" ;; - $((rainchance >= 50)) ) class="fifty" ;; - $((rainchance >= 30)) ) class="thirty" ;; - $((rainchance >= 10)) ) class="ten" ;; - $((rainchance > 0)) ) class="zero" ;; + $((rainchance >= 70)) ) class="high" ;; + $((rainchance >= 45)) ) class="mid" ;; + $((rainchance > 0)) ) class="low" ;; $((rainchance <= 0)) ) printf '' && exit ;; * ) echo unavailable && exit ;; esac |