mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 04:31:53 -07:00
add layout selection back into core xmonad using LayoutSelection.
This is just a reimplementation of LayoutChoice.
This commit is contained in:
10
Config.hs
10
Config.hs
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user