ResizableTile: haddock fixes

This commit is contained in:
Andrea Rossato 2007-11-23 14:05:11 +00:00
parent ee4e14c9bd
commit b1af78da95

View File

@ -29,19 +29,27 @@ import Control.Monad.State
import Control.Monad
-- $usage
--
-- To use, modify your Config.hs to:
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
--
-- > import XMonad.Layout.ResizableTile
--
-- and add a keybinding:
-- Then edit your @layoutHook@ by adding the ResizableTile layout:
--
-- > , ((modMask, xK_a ), sendMessage MirrorShrink)
-- > , ((modMask, xK_z ), sendMessage MirrorExpand)
-- > myLayouts = ResizableTall 1 (3/100) (1/2) [] ||| etc..
-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
--
-- and redefine "tiled" as:
-- For more detailed instructions on editing the layoutHook see:
--
-- > tiled = ResizableTall nmaster delta ratio []
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
--
-- You may also want to add the following key bindings:
--
-- > , ((modMask x, xK_a), sendMessage MirrorShrink)
-- > , ((modMask x, xK_z), sendMessage MirrorExpand)
--
-- For detailed instruction on editing the key binding see:
--
-- "XMonad.Doc.Extending#Editing_key_bindings".
data MirrorResize = MirrorShrink | MirrorExpand deriving Typeable
instance Message MirrorResize