From ad161d9363aadeb9f4ec3c852ca6c96162f2b4b0 Mon Sep 17 00:00:00 2001 From: Hekuran <62762955+narukeh@users.noreply.github.com> Date: Sun, 31 May 2020 23:09:02 +0200 Subject: [PATCH] fixes issue #663 , i3block break (#675) i3block wont break with this --- .local/bin/statusbar/music | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/music b/.local/bin/statusbar/music index 6bd44e5..faba0c3 100755 --- a/.local/bin/statusbar/music +++ b/.local/bin/statusbar/music @@ -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