aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/DragPane.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-11-21 19:15:55 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2007-11-21 19:15:55 +0100
commitf3e557e44fb1ef6421c8cdc6d7a7cc1abc281f07 (patch)
treebd948a361f66ddb946d85ef50080a82cc43f60a5 /XMonad/Layout/DragPane.hs
parente1550e221a4af14cb9849255a7aadb39c3ee9bf0 (diff)
downloadXMonadContrib-f3e557e44fb1ef6421c8cdc6d7a7cc1abc281f07.tar.gz
XMonadContrib-f3e557e44fb1ef6421c8cdc6d7a7cc1abc281f07.tar.xz
XMonadContrib-f3e557e44fb1ef6421c8cdc6d7a7cc1abc281f07.zip
DragPane: haddock fixes
darcs-hash:20071121181555-32816-90575e7501b1dd58435b9ff058af2cdb025b33e7.gz
Diffstat (limited to 'XMonad/Layout/DragPane.hs')
-rw-r--r--XMonad/Layout/DragPane.hs12
1 files changed, 8 insertions, 4 deletions
diff --git a/XMonad/Layout/DragPane.hs b/XMonad/Layout/DragPane.hs
index 8428d2b..bf307b6 100644
--- a/XMonad/Layout/DragPane.hs
+++ b/XMonad/Layout/DragPane.hs
@@ -41,14 +41,18 @@ import XMonad.Util.Invisible
import XMonad.Util.XUtils
-- $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.DragPane
--
--- and add, to the list of layouts:
+-- Then edit your @layoutHook@ by adding the DragPane layout:
+--
+-- > myLayouts = dragPane Horizontal 0.1 0.5 ||| Full ||| etc..
+-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
+--
+-- For more detailed instructions on editing the layoutHook see:
--
--- > Layout $ dragPane Horizontal 0.1 0.5
+-- "XMonad.Doc.Extending#Editing_the_layout_hook"
halfHandleWidth :: Integral a => a
halfHandleWidth = 1