Improved pulse_daemon.sh
This commit is contained in:
parent
70dda47a16
commit
f6afe3c37f
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
pactl subscribe |
|
pactl subscribe |
|
||||||
while read -r output ; do
|
while read -r output ; do
|
||||||
[ -z "${output##*sink *}" ] && sigdwmblocks 1
|
case "$output" in
|
||||||
|
*"sink "*) sigdwmblocks 1 ;;
|
||||||
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue