From: Simon Ruderich Date: Thu, 17 Jun 2010 14:51:00 +0000 (+0200) Subject: xmonad.hs: Move custom keys to own variable. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=f34eaa9dbc15bb037938b551e012a6daa1d54f47;p=config%2Fdotfiles.git xmonad.hs: Move custom keys to own variable. No functional changes. --- diff --git a/xmonad.hs b/xmonad.hs index cfc52d2..a09b826 100644 --- a/xmonad.hs +++ b/xmonad.hs @@ -71,6 +71,12 @@ myManageHook = composeOne , return True -?> doF W.focusDown ] +myKeys = [ + -- Switch to additional layout (vertical tiled) defined by + -- toggleLayouts above. + ((mod4Mask, xK_v), sendMessage ToggleLayout) + ] + main = xmonad $ defaultConfig -- Use Windows key as main key so it doesn't conflict with any other key -- bindings. @@ -85,10 +91,6 @@ main = xmonad $ defaultConfig -- Use unicode rxvt as my terminal. , terminal = "urxvt" } - `additionalKeys` [ - -- Switch to additional layout (vertical tiled) defined by - -- toggleLayouts above. - ((mod4Mask, xK_v), sendMessage ToggleLayout) - ] + `additionalKeys` myKeys -- vim: nospell