adopting sb- (#875)

* adopting `sb-`

The 2619a88fcd update might have broken scripts, like this, that use a script from `~sc/statusbar/`

* adopt `sb-`
This commit is contained in:
Hekuran
2020-12-27 02:15:57 +00:00
committed by GitHub
parent 51b8dda985
commit 60ed035ffd
2 changed files with 2 additions and 2 deletions

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 >/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