From 2299cc3030cd7428c5a89000e985b663a98af6f6 Mon Sep 17 00:00:00 2001 From: "l.mai" Date: Fri, 5 Oct 2007 22:59:34 +0000 Subject: [PATCH] basic docs for Grid --- Grid.hs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Grid.hs b/Grid.hs index e4dcd118..6fc47f80 100644 --- a/Grid.hs +++ b/Grid.hs @@ -8,10 +8,13 @@ -- Stability : unstable -- Portability : unportable -- +-- A simple layout that attempts to put all windows in a square grid. -- ----------------------------------------------------------------------------- module XMonadContrib.Grid ( + -- * Usage + -- $usage Grid(..) ) where @@ -19,6 +22,18 @@ import XMonad import StackSet import Graphics.X11.Xlib.Types +-- $usage +-- Put the following in your Config.hs file: +-- +-- > import XMonadContrib.Grid +-- > ... +-- > defaultLayouts = [ ... +-- > , Layout Grid +-- > ] + +-- %import XMonadContrib.Grid +-- %layout , Layout Grid + data Grid a = Grid deriving (Read, Show) instance LayoutClass Grid a where