dwmblocks/daemons/pulse_daemon.sh
Ashish Kumar Yadav ab48cac19b Reorganization
2021-02-10 21:19:05 +05:30

9 lines
198 B
Bash
Executable file

#!/bin/sh
# autostart this on startup for volume block to work
pactl subscribe |
while read -r output ; do
case $output in
*"sink "*) sigdwmblocks 1 ;;
esac
done