dwmblocks/daemons/pulse_daemon.sh
2020-08-10 03:05:01 +05:30

6 lines
120 B
Bash
Executable file

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