aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
Diffstat (limited to 'XMonad')
-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)