mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 12:41:52 -07:00
Roledex: haddock fixes
This commit is contained in:
@@ -27,12 +27,18 @@ import Graphics.X11.Xlib
|
|||||||
import Data.Ratio
|
import Data.Ratio
|
||||||
|
|
||||||
-- $usage
|
-- $usage
|
||||||
|
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
|
||||||
--
|
--
|
||||||
-- > import XMonad.Layout.Roledex
|
-- > import XMonad.Layout.Roledex
|
||||||
-- > layouts = [ Layout Roledex ]
|
--
|
||||||
|
-- Then edit your @layoutHook@ by adding the Roledex layout:
|
||||||
-- %import XMonad.Layout.Roledex
|
--
|
||||||
-- %layout , Layout Roledex
|
-- > myLayouts = Roledex ||| etc..
|
||||||
|
-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
|
||||||
|
--
|
||||||
|
-- For more detailed instructions on editing the layoutHook see:
|
||||||
|
--
|
||||||
|
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
|
||||||
|
|
||||||
data Roledex a = Roledex deriving ( Show, Read )
|
data Roledex a = Roledex deriving ( Show, Read )
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user