Improved comments for volume block scripts
This commit is contained in:
parent
5ea366a162
commit
335ba578b5
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/sh
|
#!/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 |
|
pacmd list-sinks |
|
||||||
awk '
|
awk '
|
||||||
BEGIN {
|
BEGIN {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/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
|
# It signals volume block to update on audio related events
|
||||||
pactl subscribe |
|
pactl subscribe |
|
||||||
while read -r output ; do
|
while read -r output ; do
|
||||||
|
|
Loading…
Reference in a new issue