summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/torrent
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-02-08 09:45:01 -0500
committerLuke Smith <luke@lukesmith.xyz>2020-02-08 09:45:01 -0500
commit3ea6acfe0397028ce08ddb181bd1f8a3f4e340fc (patch)
treecce91ea84c75b16b5e0e7e1a6adfb843dd54157a /.local/bin/statusbar/torrent
parent140836aae1a31cb87e68ce5ba1a079b7e61b0804 (diff)
downloadeibhear-3ea6acfe0397028ce08ddb181bd1f8a3f4e340fc.tar.gz
eibhear-3ea6acfe0397028ce08ddb181bd1f8a3f4e340fc.tar.zst
eibhear-3ea6acfe0397028ce08ddb181bd1f8a3f4e340fc.zip
torrent statusbar automatically one line for dwm
Diffstat (limited to '.local/bin/statusbar/torrent')
-rwxr-xr-x.local/bin/statusbar/torrent3
1 files changed, 1 insertions, 2 deletions
diff --git a/.local/bin/statusbar/torrent b/.local/bin/statusbar/torrent
index c1387d1..c88e354 100755
--- a/.local/bin/statusbar/torrent
+++ b/.local/bin/statusbar/torrent
@@ -14,7 +14,7 @@ transmission-remote -l | grep % |
s/L/🔼/g;
s/M/🔽/g;
s/N/✅/g;
- s/Z/🌱/g" | awk '{print $2, $1}' | sed -e "s/ $//g"
+ s/Z/🌱/g" | awk '{print $2, $1}' | sed -e "s/ $//g" | tr '\n' ' '
case $BLOCK_BUTTON in
1) $TERMINAL -e transmission-remote-cli ;;
@@ -25,4 +25,3 @@ case $BLOCK_BUTTON in
✅: done
🌱: done and seeding" ;;
esac
-