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/Grid.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/Grid.hs')
-rw-r--r-- | XMonad/Layout/Grid.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/XMonad/Layout/Grid.hs b/XMonad/Layout/Grid.hs index 05af46b..a2d39e0 100644 --- a/XMonad/Layout/Grid.hs +++ b/XMonad/Layout/Grid.hs @@ -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: -- |