xmonad-contrib-0.7: Third party extensions for xmonadContentsIndex
XMonad.Layout.MosaicAlt
Portabilityunportable
Stabilityunstable
Maintainerxmonad#jwebb,sygneca,com
Contents
Usage:
Description
A layout which gives each window a specified amount of screen space relative to the others. Compared to the Mosaic layout, this one divides the space in a more balanced way.
Synopsis
data MosaicAlt a = MosaicAlt Params
shrinkWindowAlt :: Window -> HandleWindowAlt
expandWindowAlt :: Window -> HandleWindowAlt
tallWindowAlt :: Window -> HandleWindowAlt
wideWindowAlt :: Window -> HandleWindowAlt
resetAlt :: HandleWindowAlt
Usage:

You can use this module with the following in your ~/.xmonad/xmonad.hs:

 import XMonad.Layout.MosaicAlt
 import qualified Data.Map as M

Then edit your layoutHook by adding the MosaicAlt layout:

 myLayouts = MosaicAlt M.empty ||| Full ||| etc..
 main = xmonad defaultConfig { layoutHook = myLayouts }

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending#Editing_the_layout_hook

In the key-bindings, do something like:

     , ((modMask x .|. shiftMask  , xK_a    ), withFocused (sendMessage . expandWindowAlt))
     , ((modMask x .|. shiftMask  , xK_z    ), withFocused (sendMessage . shrinkWindowAlt))
     , ((modMask x .|. shiftMask  , xK_s    ), withFocused (sendMessage . tallWindowAlt))
     , ((modMask x .|. shiftMask  , xK_d    ), withFocused (sendMessage . wideWindowAlt))
     , ((modMask x .|. controlMask, xK_space), sendMessage resetAlt)
     ...

For detailed instruction on editing the key binding see:

XMonad.Doc.Extending#Editing_key_bindings.

data MosaicAlt a
Constructors
MosaicAlt Params
show/hide Instances
LayoutClass MosaicAlt Window
Read (MosaicAlt a)
Show (MosaicAlt a)
shrinkWindowAlt :: Window -> HandleWindowAlt
expandWindowAlt :: Window -> HandleWindowAlt
tallWindowAlt :: Window -> HandleWindowAlt
wideWindowAlt :: Window -> HandleWindowAlt
resetAlt :: HandleWindowAlt
Produced by Haddock version 0.8