diff options
| author | Hekuran <62762955+narukeh@users.noreply.github.com> | 2020-12-27 02:15:57 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-26 21:15:57 -0500 |
| commit | 60ed035ffd1ac2bf4aece742e62d67c3c5d675fc (patch) | |
| tree | fa508f12d55c27624f8260387682972a9691ed46 /.local/bin/statusbar/sb-music | |
| parent | 51b8dda985d3bd36e02f3eec488d2f140d953048 (diff) | |
| download | eibhear-60ed035ffd1ac2bf4aece742e62d67c3c5d675fc.tar.gz eibhear-60ed035ffd1ac2bf4aece742e62d67c3c5d675fc.tar.zst eibhear-60ed035ffd1ac2bf4aece742e62d67c3c5d675fc.zip | |
adopting `sb-` (#875)
* adopting `sb-`
The 2619a88fcd94cbd4b2caa719ba926ae0013fb4ec update might have broken scripts, like this, that use a script from `~sc/statusbar/`
* adopt `sb-`
Diffstat (limited to '.local/bin/statusbar/sb-music')
| -rwxr-xr-x | .local/bin/statusbar/sb-music | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/sb-music b/.local/bin/statusbar/sb-music index 4b7c115..7504313 100755 --- a/.local/bin/statusbar/sb-music +++ b/.local/bin/statusbar/sb-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 >/dev/null 2>&1 & +pidof -x sb-mpdup >/dev/null 2>&1 || sb-mpdup >/dev/null 2>&1 & case $BLOCK_BUTTON in 1) mpc status | filter ; setsid -f "$TERMINAL" -e ncmpcpp ;; # right click, pause/unpause |
