diff options
author | David Roundy <droundy@darcs.net> | 2007-09-21 23:21:59 +0200 |
---|---|---|
committer | David Roundy <droundy@darcs.net> | 2007-09-21 23:21:59 +0200 |
commit | 85dc84516e3848ca9d9a268c121220de164d0e9e (patch) | |
tree | 4b498023867881b8e7392235b7e39037a292b2b1 /Config.hs | |
parent | 704ca55fc2de620d85929ca5cbcab5f2a03e77cc (diff) | |
download | metatile-85dc84516e3848ca9d9a268c121220de164d0e9e.tar metatile-85dc84516e3848ca9d9a268c121220de164d0e9e.zip |
add layout selection back into core xmonad using LayoutSelection.
This is just a reimplementation of LayoutChoice.
darcs-hash:20070921212159-72aca-870bb8d3e596fcb9edc48f51bec538054b4165e6
Diffstat (limited to 'Config.hs')
-rw-r--r-- | Config.hs | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -92,10 +92,10 @@ borderWidth = 1 -- | -- The default set of tiling algorithms -- -defaultLayouts :: [SomeLayout Window] -defaultLayouts = [ SomeLayout tiled - , SomeLayout $ Mirror tiled - , SomeLayout Full +defaultLayouts :: [(String, SomeLayout Window)] +defaultLayouts = [("tall", SomeLayout tiled) + ,("wide", SomeLayout $ Mirror tiled) + ,("full", SomeLayout Full) -- Extension-provided layouts ] @@ -135,7 +135,7 @@ keys = M.fromList $ , ((modMask .|. shiftMask, xK_p ), spawn "gmrun") -- %! Launch gmrun , ((modMask .|. shiftMask, xK_c ), kill) -- %! Close the focused window - , ((modMask, xK_space ), switchLayout) -- %! Rotate through the available layout algorithms + , ((modMask, xK_space ), sendMessage NextLayout) -- %! Rotate through the available layout algorithms , ((modMask, xK_n ), refresh) -- %! Resize viewed windows to the correct size |