Improved comments for volume block scripts

This commit is contained in:
Ashish Kumar Yadav 2021-03-08 23:08:00 +05:30
parent 5ea366a162
commit 335ba578b5
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,7 @@
#!/bin/sh
# This script parses the output of `pacmd list-sinks' to find volume and mute
# status of the default audio sink and whether headphones are plugged in or not
# Also see ../daemons/pulse_daemon.sh
pacmd list-sinks |
awk '
BEGIN {

View file

@ -1,5 +1,5 @@
#!/bin/sh
# This script should be autostarted on startup
# This script should be autostarted with X session
# It signals volume block to update on audio related events
pactl subscribe |
while read -r output ; do