mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 12:41:52 -07:00
Grid: haddock fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user