dwmblocks/daemons/pulse_daemon.sh
2020-08-17 23:12:00 +05:30

6 lines
121 B
Bash
Executable file

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