xmonad: Add some extended key bindings

This commit is contained in:
Tom Willemsen 2013-03-03 14:47:37 +01:00
parent b7c89d708d
commit 8593af7f3e

View file

@ -46,7 +46,14 @@ main = xmonad $ defaultConfig
("M-S-1", spawn "dmenu_run"), ("M-S-1", spawn "dmenu_run"),
("M-n", windows W.focusDown), ("M-n", windows W.focusDown),
("M-p", windows W.focusUp), ("M-p", windows W.focusUp),
("M1-C-l", spawn "i3lock -c 000000") ("M1-C-l", spawn "i3lock -c 000000"),
("<XF86AudioPlay>", spawn "mpc toggle"),
("<XF86AudioStop>", spawn "mcp stop"),
("<XF86AudioMute>", spawn "amixer sset Master toggle"),
("<XF86AudioLowerVolume>", spawn "mpc volume -5"),
("<XF86AudioRaiseVolume>", spawn "mpc volume +5"),
("<XF86AudioPrev>", spawn "mpc prev"),
("<XF86AudioNext>", spawn "mpc next")
] ]
`removeKeysP` `removeKeysP`
[ ("M-j"), ("M-k") ] [ ("M-j"), ("M-k") ]