diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-08-18 01:39:43 +0200 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-08-18 01:39:43 +0200 |
commit | d923956d4866beb5093c89e0c1a4f54a9c37070f (patch) | |
tree | 849dcc217039940b4f41e1e82f595c7a00669d99 /tools/panel/monce | |
parent | 26a62982eab36ee68608a61306e6fab6447edd8a (diff) | |
download | dotfiles-d923956d4866beb5093c89e0c1a4f54a9c37070f.tar.gz dotfiles-d923956d4866beb5093c89e0c1a4f54a9c37070f.tar.bz2 dotfiles-d923956d4866beb5093c89e0c1a4f54a9c37070f.zip |
major fixes and rearrangement
Diffstat (limited to 'tools/panel/monce')
-rwxr-xr-x | tools/panel/monce | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tools/panel/monce b/tools/panel/monce deleted file mode 100755 index caa316c..0000000 --- a/tools/panel/monce +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - - -f=1 -d=30 # width - -new=`mpc current` -if [ "$old" != "$new" ];then -f=1; -old="$new" -fi - - -e=$(expr $f + $d) - -if mpc | grep -q playing; then -symbol='p' -else -symbol='P' -fi - -echo "$symbol`echo $new | cut --bytes $f-$e`" -echo "K`mpc -h 127.0.0.1 volume | perl -pe 's/^volume://' | perl -pe 's/%$//' | perl -pe 's/^ //'`" - - |