aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-11-23 13:31:55 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2007-11-23 13:31:55 +0100
commitf7cdb0723020e3edfe1e66421818743c233a3a00 (patch)
tree0942848f5d89b04da2f7343fbad81350d01ae07e /XMonad/Layout
parent43f543095a7f8a64efa35d449942c7c31263f01c (diff)
downloadXMonadContrib-f7cdb0723020e3edfe1e66421818743c233a3a00.tar.gz
XMonadContrib-f7cdb0723020e3edfe1e66421818743c233a3a00.tar.xz
XMonadContrib-f7cdb0723020e3edfe1e66421818743c233a3a00.zip
TwoPane: haddock docs
darcs-hash:20071123123155-32816-db15110cb6e00d6dfe744bb86b8e776e6df2254d.gz
Diffstat (limited to 'XMonad/Layout')
-rw-r--r--XMonad/Layout/TwoPane.hs15
1 files changed, 8 insertions, 7 deletions
diff --git a/XMonad/Layout/TwoPane.hs b/XMonad/Layout/TwoPane.hs
index bca49a7..a42cb37 100644
--- a/XMonad/Layout/TwoPane.hs
+++ b/XMonad/Layout/TwoPane.hs
@@ -27,17 +27,18 @@ import XMonad.Layouts ( Resize(..), splitHorizontallyBy )
import XMonad.StackSet ( focus, up, down)
-- $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.TwoPane
--
--- and add, to the list of layouts:
+-- Then edit your @layoutHook@ by adding the TwoPane layout:
--
--- > , (Layout $ TwoPane 0.03 0.5)
-
--- %import XMonad.Layout.TwoPane
--- %layout , (Layout $ TwoPane 0.03 0.5)
+-- > myLayouts = TwoPane (3/100) (1/2) ||| Full ||| etc..
+-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
+--
+-- For more detailed instructions on editing the layoutHook see:
+--
+-- "XMonad.Doc.Extending#Editing_the_layout_hook"
data TwoPane a =
TwoPane Rational Rational