mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
ResizableTile: haddock fixes
This commit is contained in:
parent
ee4e14c9bd
commit
b1af78da95
@ -29,19 +29,27 @@ import Control.Monad.State
|
|||||||
import Control.Monad
|
import Control.Monad
|
||||||
|
|
||||||
-- $usage
|
-- $usage
|
||||||
|
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
|
||||||
--
|
--
|
||||||
-- To use, modify your Config.hs to:
|
-- > import XMonad.Layout.ResizableTile
|
||||||
--
|
--
|
||||||
-- > import XMonad.Layout.ResizableTile
|
-- Then edit your @layoutHook@ by adding the ResizableTile layout:
|
||||||
--
|
--
|
||||||
-- and add a keybinding:
|
-- > myLayouts = ResizableTall 1 (3/100) (1/2) [] ||| etc..
|
||||||
|
-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
|
||||||
--
|
--
|
||||||
-- > , ((modMask, xK_a ), sendMessage MirrorShrink)
|
-- For more detailed instructions on editing the layoutHook see:
|
||||||
-- > , ((modMask, xK_z ), sendMessage MirrorExpand)
|
|
||||||
--
|
--
|
||||||
-- and redefine "tiled" as:
|
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
|
||||||
--
|
--
|
||||||
-- > tiled = ResizableTall nmaster delta ratio []
|
-- 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
|
data MirrorResize = MirrorShrink | MirrorExpand deriving Typeable
|
||||||
instance Message MirrorResize
|
instance Message MirrorResize
|
||||||
|
Loading…
x
Reference in New Issue
Block a user