xmonad-contrib-0.8: Third party extensions for xmonadSource codeContentsIndex
XMonad.Layout.Maximize
Portabilityunportable
Stabilityunstable
Maintainerxmonad#jwebb,sygneca,com
Contents
Usage
Description
Temporarily yanks the focused window out of the layout to mostly fill the screen.
Synopsis
maximize :: LayoutClass l Window => l Window -> ModifiedLayout Maximize l Window
maximizeRestore :: Window -> MaximizeRestore
Usage

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

 import XMonad.Layout.Maximize

Then edit your layoutHook by adding the Maximize layout modifier:

 myLayouts = maximize (Tall 1 (3/100) (1/2)) ||| 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, xK_backslash), withFocused (sendMessage . maximizeRestore))
        ...

For detailed instruction on editing the key binding see:

XMonad.Doc.Extending#Editing_key_bindings.

maximize :: LayoutClass l Window => l Window -> ModifiedLayout Maximize l WindowSource
maximizeRestore :: Window -> MaximizeRestoreSource
Produced by Haddock version 2.3.0