From 0cbb943629ffa34fe20f21f0bfe9fe37c204ce5a Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 6 Apr 2017 22:13:15 -0700 Subject: [PATCH] [XMonad] Add a bindings for muting and muting specific sources --- dotfiles/xmonad/xmonad.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/xmonad/xmonad.hs b/dotfiles/xmonad/xmonad.hs index 8fefd9e1..40a36276 100644 --- a/dotfiles/xmonad/xmonad.hs +++ b/dotfiles/xmonad/xmonad.hs @@ -792,6 +792,9 @@ addKeys conf@XConfig { modMask = modm } = , ((0, xF86XK_AudioMute), spawn "set_volume.sh mute") , ((hyper, xK_w), spawn "set_volume.sh up") , ((hyper, xK_s), spawn "set_volume.sh down") + , ((hyper, xK_q), spawn "set_volume.sh mute") + , ((hyper .|. shiftMask, xK_q), spawn "mute_current_window.sh") + , ((hctrl, xK_q), spawn "mute_current_window.sh only") , ((0, xF86XK_MonBrightnessUp), spawn "show_brightness.sh") , ((0, xF86XK_MonBrightnessDown), spawn "show_brightness.sh")