summaryrefslogtreecommitdiff
path: root/volume
diff options
context:
space:
mode:
Diffstat (limited to 'volume')
-rwxr-xr-xvolume1
1 files changed, 1 insertions, 0 deletions
diff --git a/volume b/volume
index 9cbaaae..d00b643 100755
--- a/volume
+++ b/volume
@@ -14,6 +14,7 @@ fi
case "$1" in
"toggle"|"mute")
+ [ "$2" = "mic" ] && id="@DEFAULT_AUDIO_SOURCE@"
wpctl set-mute "$id" toggle
;;
"up")