dwmblocks/daemons/pulse_daemon.sh
2020-10-30 22:25:41 +05:30

8 lines
145 B
Bash
Executable file

#!/bin/sh
pactl subscribe |
while read -r output ; do
case $output in
*"sink "*) sigdwmblocks 1 ;;
esac
done