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/HintedGrid.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'XMonad/Layout/HintedGrid.hs') diff --git a/XMonad/Layout/HintedGrid.hs b/XMonad/Layout/HintedGrid.hs index c4317da..0d9e17d 100644 --- a/XMonad/Layout/HintedGrid.hs +++ b/XMonad/Layout/HintedGrid.hs @@ -41,13 +41,13 @@ infixr 9 . -- -- Then edit your @layoutHook@ by adding the 'Grid' layout: -- --- > myLayouts = Grid False ||| Full ||| etc.. --- > main = xmonad defaultConfig { layoutHook = myLayouts } +-- > myLayout = Grid False ||| Full ||| etc.. +-- > main = xmonad defaultConfig { layoutHook = myLayout } -- -- You can also specify an aspect ratio for Grid to strive for with the -- GridRatio constructor: -- --- > myLayouts = GridRatio (4/3) False ||| etc. +-- > myLayout = GridRatio (4/3) False ||| etc. -- -- For more detailed instructions on editing the layoutHook see -- "XMonad.Doc.Extending#Editing_the_layout_hook". -- cgit v1.2.3