aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/ThreeColumns.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-11-23 13:46:59 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2007-11-23 13:46:59 +0100
commitc6b1d856825a916715e743748a10465ee2700f22 (patch)
tree29215f3cce8327913bf5d31a81c95173aa2ab122 /XMonad/Layout/ThreeColumns.hs
parent88c0428fd0e00d2453359e8a7ef68d4b52fe29ce (diff)
downloadXMonadContrib-c6b1d856825a916715e743748a10465ee2700f22.tar.gz
XMonadContrib-c6b1d856825a916715e743748a10465ee2700f22.tar.xz
XMonadContrib-c6b1d856825a916715e743748a10465ee2700f22.zip
ThreeColumns: haddock docs
darcs-hash:20071123124659-32816-39b4983a05026c4b6d6f65a8dbfd3bb89b5a1e88.gz
Diffstat (limited to '')
-rw-r--r--XMonad/Layout/ThreeColumns.hs17
1 files changed, 10 insertions, 7 deletions
diff --git a/XMonad/Layout/ThreeColumns.hs b/XMonad/Layout/ThreeColumns.hs
index 2dd2551..a97b879 100644
--- a/XMonad/Layout/ThreeColumns.hs
+++ b/XMonad/Layout/ThreeColumns.hs
@@ -32,17 +32,20 @@ import Control.Monad.Reader
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.ThreeColumns
--
--- and add, to the list of layouts:
+-- Then edit your @layoutHook@ by adding the ThreeCol layout:
--
--- > ThreeCol nmaster delta ratio
-
--- %import XMonad.Layout.ThreeColumns
--- %layout , ThreeCol nmaster delta ratio
+-- > myLayouts = ThreeCol 1 (3/100) (1/2) False ||| etc..
+-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
+--
+-- Use @True@ as the last argument to get a wide layout.
+--
+-- For more detailed instructions on editing the layoutHook see:
+--
+-- "XMonad.Doc.Extending#Editing_the_layout_hook"
data ThreeCol a = ThreeCol Int Rational Rational deriving (Show,Read)