aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 &