[XMonad] Add a bindings for muting and muting specific sources

This commit is contained in:
Ivan Malison 2017-04-06 22:13:15 -07:00
parent 500c70d0a4
commit 0cbb943629
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -792,6 +792,9 @@ addKeys conf@XConfig { modMask = modm } =
, ((0, xF86XK_AudioMute), spawn "set_volume.sh mute") , ((0, xF86XK_AudioMute), spawn "set_volume.sh mute")
, ((hyper, xK_w), spawn "set_volume.sh up") , ((hyper, xK_w), spawn "set_volume.sh up")
, ((hyper, xK_s), spawn "set_volume.sh down") , ((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_MonBrightnessUp), spawn "show_brightness.sh")
, ((0, xF86XK_MonBrightnessDown), spawn "show_brightness.sh") , ((0, xF86XK_MonBrightnessDown), spawn "show_brightness.sh")