diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-04-07 14:56:22 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-04-07 14:56:22 +0200 |
commit | a793b23435567f2d4f49846196ceebcc47cd764c (patch) | |
tree | 5f542d40b11c55ff851724cbab21c27ba7a8ff0d /config/i3blocks/scripts/mpd | |
parent | 6384224250a62e8b1ea913934db5dbae536ce153 (diff) | |
download | myconfigs-a793b23435567f2d4f49846196ceebcc47cd764c.tar.gz myconfigs-a793b23435567f2d4f49846196ceebcc47cd764c.tar.bz2 myconfigs-a793b23435567f2d4f49846196ceebcc47cd764c.zip |
Remove stuff not needed on server
Diffstat (limited to 'config/i3blocks/scripts/mpd')
-rwxr-xr-x | config/i3blocks/scripts/mpd | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/config/i3blocks/scripts/mpd b/config/i3blocks/scripts/mpd deleted file mode 100755 index 637623e..0000000 --- a/config/i3blocks/scripts/mpd +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -case "$BLOCK_BUTTON" in - 1) - mpc toggle >/dev/null - ;; - 2) - mpc stop >/dev/null - ;; - 3) - nohup urxvt -title "Music player daemon client" -e ncmpcpp 2>&1 >/dev/null & - ;; - 4) - mpc prev >/dev/null - ;; - 5) - mpc next >/dev/null - ;; -esac - -if [ -n "`mpc status | grep -E "(playing|paused)"`" ]; then - echo `mpc -f "♫ %artist%, %album%, %title%" status | head -1` - echo - if [ -n `mpc status | grep playing` ]; then - echo "#ffff00" - elif [ -n `mpc status | grep paused` ]; then - echo "#00ff00" - fi -else - echo "♫" -fi |