add binds to toggle mute

This commit is contained in:
Leonardo Eugênio 2022-08-29 19:14:24 -03:00
parent 1a6a76f5ba
commit 8ee44f18ed

View file

@ -143,6 +143,7 @@ in {
"space" = "exec mpc toggle"; "space" = "exec mpc toggle";
"escape" = ""; "escape" = "";
"q" = ""; "q" = "";
"m" = "exec volumesh -t";
"s" = "exec ${pulse_sink}/bin/pulse_sink"; "s" = "exec ${pulse_sink}/bin/pulse_sink";
}; };
passthrough = { passthrough = {
@ -247,7 +248,7 @@ in {
audio_binds = { audio_binds = {
XF86AudioRaiseVolume = "exec volumesh -i 10"; XF86AudioRaiseVolume = "exec volumesh -i 10";
XF86AudioLowerVolume = "exec volumesh -d 10"; XF86AudioLowerVolume = "exec volumesh -d 10";
XF86AudioMute = "exec volumesh -m"; XF86AudioMute = "exec volumesh -t";
XF86AudioMicMute = XF86AudioMicMute =
"exec pactl set-source-mute @DEFAULT_SOURCE@ toggle"; "exec pactl set-source-mute @DEFAULT_SOURCE@ toggle";
# Control media # Control media