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-torrent | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to '.local/bin/statusbar/sb-torrent') 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 -- cgit v1.2.3