Improved pulse_daemon.sh
This commit is contained in:
parent
a99b2b13e3
commit
76569ceb4a
|
@ -2,8 +2,8 @@
|
||||||
# This script should be autostarted with X session
|
# This script should be autostarted with X session
|
||||||
# It signals volume block to update on audio related events
|
# It signals volume block to update on audio related events
|
||||||
pactl subscribe |
|
pactl subscribe |
|
||||||
while read -r output ; do
|
while IFS='' read -r output ; do
|
||||||
case $output in
|
case $output in
|
||||||
*"sink "*) sigdwmblocks 1 ;;
|
*" sink "*) sigdwmblocks 1 ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue