dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit ad161d9363aadeb9f4ec3c852ca6c96162f2b4b0
parent 37ea7a555269a92d524bf78d492e4ebc64a133d0
Author: Hekuran <62762955+narukeh@users.noreply.github.com>
Date:   Sun, 31 May 2020 23:09:02 +0200

fixes issue #663 , i3block break (#675)

i3block wont break with this
Diffstat:
M.local/bin/statusbar/music | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/statusbar/music b/.local/bin/statusbar/music @@ -2,7 +2,7 @@ filter() { mpc | sed "/^volume:/d;s/\\&/&amp;/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