1
0
Fork 0

fix sb-music

This commit is contained in:
Luca Bilke 2022-09-17 00:09:47 +02:00
parent 9454d9dd82
commit d7b7ae1c88
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +0,0 @@
#!/bin/sh
while : ; do
mpc idle >/dev/null && kill -45 "$(pidof dwm)" || break
done

View File

@ -11,4 +11,4 @@ filter() {
exit 1
fi
}
pidof -x sb-mpdup >/dev/null 2>&1 || sb-mpdup >/dev/null 2>&1 &
pidof -x sbd-music >/dev/null 2>&1 || sbd-music >/dev/null 2>&1 &

4
.local/bin/statusbar/sbd-music Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
while : ; do
mpc idle >/dev/null && pkill -RTMIN+11 dwmblocks || break
done