torrent script icon change and reorder

This commit is contained in:
Luke Smith 2018-10-06 10:42:59 -04:00
parent 6083bc4d3f
commit 9426de7490

View file

@ -1,7 +1,6 @@
#!/bin/bash
#!/bin/sh
case $BLOCK_BUTTON in
1) $TERMINAL -e transmission-remote-cli
esac
transmission-remote -l | grep % | sed -e "s/.*100%.*/Z/g;s/.*Idle.*/A/g;s/.*%.*/M/g" | sort -h | uniq -c | sed -e "s/Z/🌱/g;s/A/⌛️/g;s/M/⬇️/g" | awk '{print $2, $1}' | tr '\n' ' '
transmission-remote -l | grep % | sed -e "s/.*100%.*/Z/g;s/.*Idle.*/A/g;s/.*%.*/M/g" | sort -h | uniq -c | sed -e "s/Z/🌱/g;s/M/⬇️/g;s/A/⌛️/g" | awk '{print $2, $1}' | tr '\n' ' ' | sed -e "s/ $//g"