diff options
author | Andrea Rossato <andrea.rossato@unibz.it> | 2007-11-23 15:16:57 +0100 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@unibz.it> | 2007-11-23 15:16:57 +0100 |
commit | c1d14f8145d7ee929c9c72eb05eb41092641e519 (patch) | |
tree | 26e30ed3ebbe2b8f25a50b82f18c8bd4f6a411d3 /XMonad | |
parent | 2529d847a140a62f8091d0c6eb43a1c0bbfd02ff (diff) | |
download | XMonadContrib-c1d14f8145d7ee929c9c72eb05eb41092641e519.tar.gz XMonadContrib-c1d14f8145d7ee929c9c72eb05eb41092641e519.tar.xz XMonadContrib-c1d14f8145d7ee929c9c72eb05eb41092641e519.zip |
MagicFocus: haddock docs
darcs-hash:20071123141657-32816-e51886b62eb8176b80c88d6591013fec8420e358.gz
Diffstat (limited to 'XMonad')
-rw-r--r-- | XMonad/Layout/MagicFocus.hs | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/XMonad/Layout/MagicFocus.hs b/XMonad/Layout/MagicFocus.hs index 57e5b7a..0c4c6b4 100644 --- a/XMonad/Layout/MagicFocus.hs +++ b/XMonad/Layout/MagicFocus.hs @@ -24,13 +24,19 @@ import XMonad import XMonad.StackSet -- $usage +-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- -- > import XMonad.Layout.MagicFocus --- > layouts = [ Layout $ MagicFocus tiled , Layout $ MagicFocus $ Mirror tiled ] - --- %import XMonad.Layout.MagicFocus --- %layout , Layout $ MagicFocus tiled --- %layout , Layout $ MagicFocus $ Mirror tiled - +-- +-- Then edit your @layoutHook@ by adding the MagicFocus layout +-- modifier: +-- +-- > myLayouts = MagicFocus (Tall 1 (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 MagicFocus l a = MagicFocus (l a) deriving ( Show , Read ) |