From 8593af7f3e60c57db6a91783a248b3e1deef7fcd Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 3 Mar 2013 14:47:37 +0100 Subject: [PATCH] xmonad: Add some extended key bindings --- xmonad/xmonad.hs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/xmonad/xmonad.hs b/xmonad/xmonad.hs index 56a404a..617ab53 100644 --- a/xmonad/xmonad.hs +++ b/xmonad/xmonad.hs @@ -46,7 +46,14 @@ main = xmonad $ defaultConfig ("M-S-1", spawn "dmenu_run"), ("M-n", windows W.focusDown), ("M-p", windows W.focusUp), - ("M1-C-l", spawn "i3lock -c 000000") + ("M1-C-l", spawn "i3lock -c 000000"), + ("", spawn "mpc toggle"), + ("", spawn "mcp stop"), + ("", spawn "amixer sset Master toggle"), + ("", spawn "mpc volume -5"), + ("", spawn "mpc volume +5"), + ("", spawn "mpc prev"), + ("", spawn "mpc next") ] `removeKeysP` [ ("M-j"), ("M-k") ]