diff options
| author | Hekuran <62762955+narukeh@users.noreply.github.com> | 2020-05-31 23:09:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-31 17:09:02 -0400 |
| commit | ad161d9363aadeb9f4ec3c852ca6c96162f2b4b0 (patch) | |
| tree | e5eb174347c425a86474970a6f6e54b69bf2519f /.local/bin | |
| parent | 37ea7a555269a92d524bf78d492e4ebc64a133d0 (diff) | |
| download | eibhear-ad161d9363aadeb9f4ec3c852ca6c96162f2b4b0.tar.gz eibhear-ad161d9363aadeb9f4ec3c852ca6c96162f2b4b0.tar.zst eibhear-ad161d9363aadeb9f4ec3c852ca6c96162f2b4b0.zip | |
fixes issue #663 , i3block break (#675)
i3block wont break with this
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/statusbar/music | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
