aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/Dishes.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-11-21 19:15:29 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2007-11-21 19:15:29 +0100
commite1550e221a4af14cb9849255a7aadb39c3ee9bf0 (patch)
treebe84e270f661d4fc3b0efc485be036fd56925fca /XMonad/Layout/Dishes.hs
parenta8e791c20a9d596cd6183db5de9073d0cb3c50c5 (diff)
downloadXMonadContrib-e1550e221a4af14cb9849255a7aadb39c3ee9bf0.tar.gz
XMonadContrib-e1550e221a4af14cb9849255a7aadb39c3ee9bf0.tar.xz
XMonadContrib-e1550e221a4af14cb9849255a7aadb39c3ee9bf0.zip
Dishes: haddock fixes
darcs-hash:20071121181529-32816-19c91835e3d233bf41bc86192dbdbe511ed305f8.gz
Diffstat (limited to 'XMonad/Layout/Dishes.hs')
-rw-r--r--XMonad/Layout/Dishes.hs14
1 files changed, 8 insertions, 6 deletions
diff --git a/XMonad/Layout/Dishes.hs b/XMonad/Layout/Dishes.hs
index ecc27db..6f5e12e 100644
--- a/XMonad/Layout/Dishes.hs
+++ b/XMonad/Layout/Dishes.hs
@@ -29,16 +29,18 @@ import Control.Monad (ap)
import Graphics.X11.Xlib
-- $usage
--- You can use this module with the following in your Config.hs file:
+-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
--
-- > import XMonad.Layout.Dishes
--
--- and add the following line to your 'layouts'
+-- Then edit your @layoutHook@ by adding the Dishes layout:
--
--- > , Layout $ Dishes 2 (1%6)
-
--- %import XMonad.Layout.Dishes
--- %layout , Layout $ Dishes 2 (1%6)
+-- > myLayouts = Dishes 2 (1/6) ||| Full ||| etc..
+-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
+--
+-- For more detailed instructions on editing the layoutHook see:
+--
+-- "XMonad.Doc.Extending#Editing_the_layout_hook"
data Dishes a = Dishes Int Rational deriving (Show, Read)
instance LayoutClass Dishes a where