diff options
author | Wirt Wolff <wirtwolff@gmail.com> | 2009-10-23 06:26:51 +0200 |
---|---|---|
committer | Wirt Wolff <wirtwolff@gmail.com> | 2009-10-23 06:26:51 +0200 |
commit | ea2a76b1a25b6f605234e52cb6154973f91312a3 (patch) | |
tree | 60aaa10ca95015a4d690843df7f0532286c20030 /XMonad/Layout/Mosaic.hs | |
parent | e75f0cdb019414deb81f14ff4f73ccd73c6f23b2 (diff) | |
download | XMonadContrib-ea2a76b1a25b6f605234e52cb6154973f91312a3.tar.gz XMonadContrib-ea2a76b1a25b6f605234e52cb6154973f91312a3.tar.xz XMonadContrib-ea2a76b1a25b6f605234e52cb6154973f91312a3.zip |
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
Diffstat (limited to 'XMonad/Layout/Mosaic.hs')
-rw-r--r-- | XMonad/Layout/Mosaic.hs | 4 |
1 files changed, 2 insertions, 2 deletions
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 |