From 65e138bb143e4f11fb7cbc72fbfc9d846956b082 Mon Sep 17 00:00:00 2001 From: awy Date: Wed, 6 Aug 2025 03:01:59 +0300 Subject: gruvbox --- .local/bin/statusbar/sb-clock | 2 +- .local/bin/statusbar/sb-mailbox | 2 +- .local/bin/statusbar/sb-torrent | 26 +++++------ .local/share/extras/weather_codes | 96 +++++++++++++++++++-------------------- 4 files changed, 63 insertions(+), 63 deletions(-) (limited to '.local') diff --git a/.local/bin/statusbar/sb-clock b/.local/bin/statusbar/sb-clock index 3cac79c..dd6de18 100755 --- a/.local/bin/statusbar/sb-clock +++ b/.local/bin/statusbar/sb-clock @@ -10,4 +10,4 @@ case $BLOCK_BUTTON in 8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;; esac -date "+%Y-%m-%d %H:%M:%S" +date "+%H:%M" diff --git a/.local/bin/statusbar/sb-mailbox b/.local/bin/statusbar/sb-mailbox index fa36584..19478e8 100755 --- a/.local/bin/statusbar/sb-mailbox +++ b/.local/bin/statusbar/sb-mailbox @@ -18,7 +18,7 @@ unread="$(fd . "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/*/[Ii][Nn][Bb][Oo][Xx icon=$(bat /tmp/mailupdate 2>/dev/null) if [ "$unread" -eq 0 ]; then - [ -n "$icon" ] && echo " $icon" || exit 0 + [ -n "$icon" ] && echo "$icon" || exit 0 else echo " $unread$icon" fi diff --git a/.local/bin/statusbar/sb-torrent b/.local/bin/statusbar/sb-torrent index 868b3aa..8415b25 100755 --- a/.local/bin/statusbar/sb-torrent +++ b/.local/bin/statusbar/sb-torrent @@ -2,26 +2,26 @@ transmission-remote -l | rg % | sed " # The letters are for sorting and will not appear. -s/.*Stopped.*/A πŸ›‘/; -s/.*Seeding.*/Z 🌱/; -s/.*100%.*/N βœ…/; -s/.*Idle.*/B πŸ•°οΈ/; -s/.*Uploading.*/L ⬆️/; -s/.*%.*/M ⬇️/" | +s/.*Stopped.*/A /; +s/.*Seeding.*/Z ξΆ§/; +s/.*100%.*/N ο…Š/; +s/.*Idle.*/B ο‡š/; +s/.*Uploading.*/L /; +s/.*%.*/M /" | sort -h | uniq -c | awk '{print $3 $1}' | paste -sd ' ' - case $BLOCK_BUTTON in 1) setsid -f "$TERMINAL" -e stig >/dev/null 2>&1 ;; 2) td-toggle ;; - 3) notify-send "🌱 Torrent module" "\- Left click to open stig. + 3) notify-send "ξΆ§ Torrent module" "\- Left click to open stig. - Middle click to toggle transmission. - Shift click to edit script. Module shows number of torrents: -πŸ›‘: paused -πŸ•°: idle (seeds needed) -πŸ”Ό: uploading (unfinished) -πŸ”½: downloading -βœ…: done -🌱: done and seeding" ;; +: paused +ο‡š: idle (seeds needed) +: uploading (unfinished) +: downloading +ο…Š: done +ξΆ§: done and seeding" ;; 8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;; esac diff --git a/.local/share/extras/weather_codes b/.local/share/extras/weather_codes index 6a192eb..e5343e1 100644 --- a/.local/share/extras/weather_codes +++ b/.local/share/extras/weather_codes @@ -1,48 +1,48 @@ -113 β˜€οΈ -116 β›… -119 ☁️ -122 ☁️ -143 ☁️ -176 🌧️ -179 🌧️ -182 🌧️ -185 🌧️ -200 β›ˆοΈ -227 🌨️ -230 🌨️ -248 ☁️ -260 ☁️ -263 🌧️ -266 🌧️ -281 🌧️ -284 🌧️ -293 🌧️ -296 🌧️ -299 🌧️ -302 🌧️ -305 🌧️ -308 🌧️ -311 🌧️ -314 🌧️ -317 🌧️ -320 🌨️ -323 🌨️ -326 🌨️ -329 ❄️ -332 ❄️ -335 ❄️ -338 ❄️ -350 🌧️ -353 🌧️ -356 🌧️ -359 🌧️ -362 🌧️ -365 🌧️ -368 🌧️ -371 ❄️ -374 🌨️ -377 🌨️ -386 🌨️ -389 🌨️ -392 🌧️ -395 ❄️ +113 ο”’ +116 ξ»° +119  +122  +143  +176  +179  +182  +185  +200 ξΌ¬ +227  +230  +248  +260  +263  +266  +281  +284  +293  +296  +299  +302  +305  +308  +311  +314  +317  +320  +323  +326  +329 ο‹œ +332 ο‹œ +335 ο‹œ +338 ο‹œ +350  +353  +356  +359  +362  +365  +368  +371 ο‹œ +374  +377  +386  +389  +392  +395 ο‹œ -- cgit v1.2.3