diff options
Diffstat (limited to '.local/bin/statusbar/sb-torrent')
-rwxr-xr-x | .local/bin/statusbar/sb-torrent | 26 |
1 files changed, 13 insertions, 13 deletions
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 |