diff options
Diffstat (limited to 'vol.sh')
-rwxr-xr-x | vol.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ #!/bin/sh -sink="$(pactl list sinks | grep "^Sink " | cut -d'#' -f2 | tail -n 1)" + +sink="@DEFAULT_SINK@" + if [ "$1" = "mute" ]; then pactl set-sink-mute "$sink" toggle else |