diff options
Diffstat (limited to 'i3/status.sh')
-rw-r--r-- | i3/status.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/i3/status.sh b/i3/status.sh deleted file mode 100644 index ce3c08a..0000000 --- a/i3/status.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# shell script to prepend i3status with more stuff - -i3status | while : -do - read line - MPCSTAT=`mpc | grep -v '^volume:'` - if [ -z "${MPCSTAT}" ]; then - echo "$line" || exit 1 - else - MPCSTAT=`echo "${MPCSTAT}" | sed 's, *, ,g; 1h;1d;2G' | paste -d' ' -s -` - echo "${MPCSTAT} | $line" || exit 1 - fi -done - - |