Improved pulse_daemon.sh

This commit is contained in:
Ashish Kumar Yadav 2021-04-08 14:46:09 +05:30
parent a99b2b13e3
commit 76569ceb4a

View file

@ -2,8 +2,8 @@
# This script should be autostarted with X session
# It signals volume block to update on audio related events
pactl subscribe |
while read -r output ; do
while IFS='' read -r output ; do
case $output in
*"sink "*) sigdwmblocks 1 ;;
*" sink "*) sigdwmblocks 1 ;;
esac
done