From 273b73dfec51b94d0b8f3a157f1f52e5f6203b27 Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Wed, 21 Nov 2007 19:16:16 +0100 Subject: Grid: haddock fixes darcs-hash:20071121181616-32816-441a7a404756e694c05fff89b154dd25fa07cd7b.gz --- XMonad/Layout/Grid.hs | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'XMonad/Layout/Grid.hs') diff --git a/XMonad/Layout/Grid.hs b/XMonad/Layout/Grid.hs index f7454e4..a45cc64 100644 --- a/XMonad/Layout/Grid.hs +++ b/XMonad/Layout/Grid.hs @@ -25,16 +25,18 @@ import XMonad.StackSet import Graphics.X11.Xlib.Types -- $usage --- Put the following in your Config.hs file: +-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: -- -- > import XMonad.Layout.Grid --- > ... --- > layouts = [ ... --- > , Layout Grid --- > ] - --- %import XMonad.Layout.Grid --- %layout , Layout Grid +-- +-- Then edit your @layoutHook@ by adding the Grid layout: +-- +-- > myLayouts = Grid ||| Full ||| etc.. +-- > main = xmonad dafaultConfig { layoutHook = myLayouts } +-- +-- For more detailed instructions on editing the layoutHook see: +-- +-- "XMonad.Doc.Extending#Editing_the_layout_hook" data Grid a = Grid deriving (Read, Show) -- cgit v1.2.3