mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-09-03 04:33:47 -07:00
Docs: use myLayout like template rather than plural
Despite myLayouts currently being more popular in examples, make them all myLayout as in man/xmonad.hs to avoid mixing them in the same module as was done a few places, leading to confusion for some users.
This commit is contained in:
@@ -30,14 +30,14 @@ import XMonad.StackSet
|
||||
--
|
||||
-- Then edit your @layoutHook@ by adding the Grid layout:
|
||||
--
|
||||
-- > myLayouts = Grid ||| Full ||| etc..
|
||||
-- > main = xmonad defaultConfig { layoutHook = myLayouts }
|
||||
-- > myLayout = Grid ||| Full ||| etc..
|
||||
-- > main = xmonad defaultConfig { layoutHook = myLayout }
|
||||
--
|
||||
-- You can also specify an aspect ratio for Grid to strive for with the
|
||||
-- GridRatio constructor. For example, if you want Grid to try to make a grid
|
||||
-- four windows wide and three windows tall, you could use
|
||||
--
|
||||
-- > myLayouts = GridRatio (4/3) ||| etc.
|
||||
-- > myLayout = GridRatio (4/3) ||| etc.
|
||||
--
|
||||
-- For more detailed instructions on editing the layoutHook see:
|
||||
--
|
||||
|
Reference in New Issue
Block a user