aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-11-21 19:16:16 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2007-11-21 19:16:16 +0100
commit273b73dfec51b94d0b8f3a157f1f52e5f6203b27 (patch)
tree8042dbf104224b751b7f92a6aa8fb8c449b4019f /XMonad/Layout
parentf3e557e44fb1ef6421c8cdc6d7a7cc1abc281f07 (diff)
downloadXMonadContrib-273b73dfec51b94d0b8f3a157f1f52e5f6203b27.tar.gz
XMonadContrib-273b73dfec51b94d0b8f3a157f1f52e5f6203b27.tar.xz
XMonadContrib-273b73dfec51b94d0b8f3a157f1f52e5f6203b27.zip
Grid: haddock fixes
darcs-hash:20071121181616-32816-441a7a404756e694c05fff89b154dd25fa07cd7b.gz
Diffstat (limited to 'XMonad/Layout')
-rw-r--r--XMonad/Layout/Grid.hs18
1 files changed, 10 insertions, 8 deletions
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)