aboutsummaryrefslogtreecommitdiffstats
path: root/volumecontrol
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-07-16 13:13:57 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-07-16 13:13:57 +0200
commiteb6f56b907ba31131a21048f1b55d2a020536560 (patch)
tree7ff4d6abe9ad8638ece0b4a16c87d8d99536e0c3 /volumecontrol
parent2bbf91bd260085e0e078de38d7d0e98eb7c38017 (diff)
downloadbin-eb6f56b907ba31131a21048f1b55d2a020536560.tar.xz
volumecontrol: Add mute-mic
Diffstat (limited to 'volumecontrol')
-rwxr-xr-xvolumecontrol3
1 files changed, 3 insertions, 0 deletions
diff --git a/volumecontrol b/volumecontrol
index 174a303..f290a43 100755
--- a/volumecontrol
+++ b/volumecontrol
@@ -18,4 +18,7 @@ case $1 in
mute)
pactl set-sink-mute 1 toggle
;;
+ mute-mic)
+ pactl set-source-mute 2 toggle
+ ;;
esac