From f7cdb0723020e3edfe1e66421818743c233a3a00 Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Fri, 23 Nov 2007 13:31:55 +0100 Subject: TwoPane: haddock docs darcs-hash:20071123123155-32816-db15110cb6e00d6dfe744bb86b8e776e6df2254d.gz --- XMonad/Layout/TwoPane.hs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'XMonad/Layout/TwoPane.hs') 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 -- cgit v1.2.3