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:
Wirt Wolff
2009-10-23 04:26:51 +00:00
parent 5417286d6a
commit 06a1322366
38 changed files with 81 additions and 81 deletions

View File

@@ -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:
--