fixes issue #663 , i3block break (#675)

i3block wont break with this
This commit is contained in:
Hekuran authored and GitHub committed 2020-05-31 17:09:02 -04:00
1 parent 37ea7a5552
commit ad161d9363
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@
filter() { mpc | sed "/^volume:/d;s/\\&/&/g;s/\\[paused\\].*/⏸/g;/\\[playing\\].*/d" | paste -sd ' ';}
pidof -x mpdup >/dev/null 2>&1 || mpdup &
pidof -x mpdup >/dev/null 2>&1 || mpdup >/dev/null 2>&1 &
case $BLOCK_BUTTON in
1) mpc status | filter ; setsid -f "$TERMINAL" -e ncmpcpp ;; # right click, pause/unpause