From ea2a76b1a25b6f605234e52cb6154973f91312a3 Mon Sep 17 00:00:00 2001 From: Wirt Wolff Date: Fri, 23 Oct 2009 06:26:51 +0200 Subject: Docs: use myLayout like template rather than plural Ignore-this: 8f1814c42e90e18af636a14751ae2f58 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. darcs-hash:20091023042651-18562-48ea1268b6eb92d4b4d50f20aba93cead4652eb1.gz --- XMonad/Layout/Mosaic.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'XMonad/Layout/Mosaic.hs') diff --git a/XMonad/Layout/Mosaic.hs b/XMonad/Layout/Mosaic.hs index 7eac5e9..557c0ac 100644 --- a/XMonad/Layout/Mosaic.hs +++ b/XMonad/Layout/Mosaic.hs @@ -46,8 +46,8 @@ import Data.Monoid(Monoid,mempty, mappend) -- -- Then edit your @layoutHook@ by adding the Mosaic layout: -- --- > myLayouts = mosaic 2 [3,2] ||| Full ||| etc.. --- > main = xmonad $ defaultConfig { layoutHook = myLayouts } +-- > myLayout = mosaic 2 [3,2] ||| Full ||| etc.. +-- > main = xmonad $ defaultConfig { layoutHook = myLayout } -- -- Unfortunately, infinite lists break serialization, so don't use them. And if -- the list is too short, it is extended with @++ repeat 1@, which covers the -- cgit v1.2.3