aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/sb-torrent
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/statusbar/sb-torrent')
-rwxr-xr-x.local/bin/statusbar/sb-torrent26
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