2020-07-18 12:00:48 +00:00
|
|
|
#!/bin/sh
|
2021-03-08 17:38:00 +00:00
|
|
|
# This script should be autostarted with X session
|
2021-02-10 20:35:31 +00:00
|
|
|
# It signals volume block to update on audio related events
|
2020-07-06 20:06:10 +00:00
|
|
|
pactl subscribe |
|
|
|
|
while read -r output ; do
|
2020-10-30 16:55:41 +00:00
|
|
|
case $output in
|
2020-09-01 06:58:54 +00:00
|
|
|
*"sink "*) sigdwmblocks 1 ;;
|
|
|
|
esac
|
2020-07-06 20:06:10 +00:00
|
|
|
done
|