X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=xmonad.hs;h=a09b826818e6dc671a372d2e82232edc05c96eb2;hb=f34eaa9dbc15bb037938b551e012a6daa1d54f47;hp=cfc52d20b20741a696c4f3135b6279cffcae7882;hpb=4f011901dde97f3edf9625fa1eee018280d1a331;p=config%2Fdotfiles.git 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