aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2020-06-28 14:10:29 +0100
committerdakkar <dakkar@thenautilus.net>2020-06-28 14:10:29 +0100
commit93717e7de77d32add34a81d63caedcfa3c9567d2 (patch)
tree63352ab3a7c85902b302f052270bf3053914fb2c
parentmaybe fix arduino (diff)
downloadfvwm-crystal-93717e7de77d32add34a81d63caedcfa3c9567d2.tar.gz
fvwm-crystal-93717e7de77d32add34a81d63caedcfa3c9567d2.tar.bz2
fvwm-crystal-93717e7de77d32add34a81d63caedcfa3c9567d2.zip
mic mute buttonHEADmaster
-rw-r--r--components/bindings/Multimedia_Keys2
-rw-r--r--components/functions/Mixer4
2 files changed, 6 insertions, 0 deletions
diff --git a/components/bindings/Multimedia_Keys b/components/bindings/Multimedia_Keys
index 4fa6151..deaf0ab 100644
--- a/components/bindings/Multimedia_Keys
+++ b/components/bindings/Multimedia_Keys
@@ -1,10 +1,12 @@
Key XF86AudioRaiseVolume A $[Mod0] Change-Volume-Up
Key XF86AudioLowerVolume A $[Mod0] Change-Volume-Down
Key XF86AudioMute A $[Mod0] Mixer-Volume-Toggle
+Key XF86AudioMute A $[Mod0]S Mixer-Input-Toggle
Key XF86AudioRaiseVolume A $[Mod1] Change-Volume-Up
Key XF86AudioLowerVolume A $[Mod1] Change-Volume-Down
Key XF86AudioMute A $[Mod1] Mixer-Volume-Toggle
+Key XF86AudioMute A $[Mod1]S Mixer-Input-Toggle
Key XF86Eject A $[Mod0] Mixer-Show
Key F9 A $[Mod1] Mixer-Show
diff --git a/components/functions/Mixer b/components/functions/Mixer
index df236d2..eec5b65 100644
--- a/components/functions/Mixer
+++ b/components/functions/Mixer
@@ -10,6 +10,10 @@ DestroyFunc Mixer-Volume-Toggle
AddToFunc Mixer-Volume-Toggle
+ I exec pactl set-sink-mute '@DEFAULT_SINK@' toggle >/dev/null
+DestroyFunc Mixer-Input-Toggle
+AddToFunc Mixer-Input-Toggle
++ I exec pactl set-source-mute '@DEFAULT_SOURCE@' toggle >/dev/null
+
DestroyFunc Mixer-Show
AddToFunc Mixer-Show
+ I exec pavucontrol &