dwmblocks/daemons/pulse_daemon.sh

8 lines
147 B
Bash
Raw Normal View History

2020-07-18 12:00:48 +00:00
#!/bin/sh
2020-07-06 20:06:10 +00:00
pactl subscribe |
while read -r output ; do
2020-09-01 06:58:54 +00:00
case "$output" in
*"sink "*) sigdwmblocks 1 ;;
esac
2020-07-06 20:06:10 +00:00
done