From f34eaa9dbc15bb037938b551e012a6daa1d54f47 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 17 Jun 2010 16:51:00 +0200 Subject: [PATCH] xmonad.hs: Move custom keys to own variable. No functional changes. --- xmonad.hs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 -- 2.44.1