dwmblocks/daemons/pulse_daemon.sh
2020-07-18 17:30:48 +05:30

8 lines
151 B
Bash
Executable file

#!/bin/sh
pactl subscribe |
while read -r output ; do
if [ -z "${output##*sink *}" ] ; then
sigdwmblocks 1
fi
done