aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/LayoutBuilder.hs
diff options
context:
space:
mode:
authorWirt Wolff <wirtwolff@gmail.com>2009-10-23 06:26:51 +0200
committerWirt Wolff <wirtwolff@gmail.com>2009-10-23 06:26:51 +0200
commitea2a76b1a25b6f605234e52cb6154973f91312a3 (patch)
tree60aaa10ca95015a4d690843df7f0532286c20030 /XMonad/Layout/LayoutBuilder.hs
parente75f0cdb019414deb81f14ff4f73ccd73c6f23b2 (diff)
downloadXMonadContrib-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/LayoutBuilder.hs')
-rw-r--r--XMonad/Layout/LayoutBuilder.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/XMonad/Layout/LayoutBuilder.hs b/XMonad/Layout/LayoutBuilder.hs
index 29972b9..7b21087 100644
--- a/XMonad/Layout/LayoutBuilder.hs
+++ b/XMonad/Layout/LayoutBuilder.hs
@@ -41,7 +41,7 @@ import Control.Monad
--
-- Then edit your @layoutHook@ by adding something like:
--
--- > myLayouts = ( (layoutN 1 (relBox 0 0 0.5 1) (Just $ relBox 0 0 1 1) $ simpleTabbed)
+-- > myLayout = ( (layoutN 1 (relBox 0 0 0.5 1) (Just $ relBox 0 0 1 1) $ simpleTabbed)
-- > $ (layoutAll (relBox 0.5 0 1 1) $ simpleTabbed)
-- > ) |||
-- > ( (layoutN 1 (relBox (1/3) 0 (1/2) 1) (Just $ relBox 0 0 1 1) $ Tall 0 0.01 0.5)
@@ -52,7 +52,7 @@ import Control.Monad
-- > $ (layoutN 1 (absBox (-200) 0 0 0) Nothing $ simpleTabbed)
-- > $ (layoutAll (absBox 0 0 (-512-200) 0) $ simpleTabbed)
-- > ) ||| Full ||| etc...
--- > main = xmonad defaultConfig { layoutHook = myLayouts }
+-- > main = xmonad defaultConfig { layoutHook = myLayout }
--
-- This will produce a layout similar to DragPane, but with the possibility to have multiple windows in the left half
-- and tabs that show the available windows. It will also produce a layout similar to ThreeColMid and a special layout