mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-20 22:43:48 -07:00
Grid: haddock fixes
This commit is contained in:
@@ -25,16 +25,18 @@ import XMonad.StackSet
|
|||||||
import Graphics.X11.Xlib.Types
|
import Graphics.X11.Xlib.Types
|
||||||
|
|
||||||
-- $usage
|
-- $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
|
-- > import XMonad.Layout.Grid
|
||||||
-- > ...
|
--
|
||||||
-- > layouts = [ ...
|
-- Then edit your @layoutHook@ by adding the Grid layout:
|
||||||
-- > , Layout Grid
|
--
|
||||||
-- > ]
|
-- > myLayouts = Grid ||| Full ||| etc..
|
||||||
|
-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
|
||||||
-- %import XMonad.Layout.Grid
|
--
|
||||||
-- %layout , Layout Grid
|
-- For more detailed instructions on editing the layoutHook see:
|
||||||
|
--
|
||||||
|
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
|
||||||
|
|
||||||
data Grid a = Grid deriving (Read, Show)
|
data Grid a = Grid deriving (Read, Show)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user