aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-11-21 19:14:09 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2007-11-21 19:14:09 +0100
commitc2a0298b6bc61e46ad09e3ffab50db477fcb5c50 (patch)
tree594e501d87529978ddae720916be9a83388c725f /XMonad/Layout
parent649c4e081e27bdfa220c3b3e83f151a63da944d2 (diff)
downloadXMonadContrib-c2a0298b6bc61e46ad09e3ffab50db477fcb5c50.tar.gz
XMonadContrib-c2a0298b6bc61e46ad09e3ffab50db477fcb5c50.tar.xz
XMonadContrib-c2a0298b6bc61e46ad09e3ffab50db477fcb5c50.zip
Accordion: haddock fixes
darcs-hash:20071121181409-32816-ca5fdfd1f3cb29350c40f504a6c45d16f1bc45f7.gz
Diffstat (limited to 'XMonad/Layout')
-rw-r--r--XMonad/Layout/Accordion.hs15
1 files changed, 11 insertions, 4 deletions
diff --git a/XMonad/Layout/Accordion.hs b/XMonad/Layout/Accordion.hs
index f844c22..7991b47 100644
--- a/XMonad/Layout/Accordion.hs
+++ b/XMonad/Layout/Accordion.hs
@@ -26,11 +26,18 @@ import Graphics.X11.Xlib
import Data.Ratio
-- $usage
+-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
+--
-- > import XMonad.Layout.Accordion
--- > layouts = [ Layout Accordion ]
-
--- %import XMonad.Layout.Accordion
--- %layout , Layout Accordion
+--
+-- Then edit your @layoutHook@ by adding the Accordion layout:
+--
+-- > myLayouts = Accordion ||| Full ||| etc..
+-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
+--
+-- For more detailed instructions on editing the layoutHook see:
+--
+-- "XMonad.Doc.Extending#Editing_the_layout_hook"
data Accordion a = Accordion deriving ( Read, Show )