dwmblocks/daemons/pulse_daemon.sh
2020-09-01 12:28:54 +05:30

8 lines
147 B
Bash
Executable file

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