mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
adopting sb-
The 2619a88fcd94cbd4b2caa719ba926ae0013fb4ec update might have broken scripts, like this, that use a script from `~sc/statusbar/`
This commit is contained in:
parent
51b8dda985
commit
43613466e0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user