xmonad-contrib- Community-maintained extensions for xmonad
Copyright(c) Jan Vornberger 2009 Alejandro Serrano 2010
LicenseBSD3-style (see LICENSE)
Portabilitynot portable
Safe HaskellSafe-Inferred




Makes it possible to minimize windows, temporarily removing them from the layout until they are restored.



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

import XMonad.Layout.Minimize

Then edit your layoutHook by adding the Minimize layout modifier:

myLayout = minimize (Tall 1 (3/100) (1/2)) ||| Full ||| etc..
main = xmonad def { layoutHook = myLayout }

For more detailed instructions on editing the layoutHook see the tutorial and XMonad.Doc.Extending.

The module is designed to work together with XMonad.Layout.BoringWindows so that minimized windows will be skipped over when switching the focused window with the keyboard. Include boringWindows in your layout hook and see the documentation of XMonad.Layout.BoringWindows on how to modify your keybindings.

See XMonad.Actions.Minimize for possible actions for minimizing/restoring windows

Also see XMonad.Hooks.Minimize if you want to be able to minimize and restore windows from your taskbar.

data Minimize a Source #


Instances details
LayoutModifier Minimize Window Source # 
Instance details

Defined in XMonad.Layout.Minimize

Read (Minimize a) Source # 
Instance details

Defined in XMonad.Layout.Minimize

Show (Minimize a) Source # 
Instance details

Defined in XMonad.Layout.Minimize


showsPrec :: Int -> Minimize a -> ShowS #

show :: Minimize a -> String #

showList :: [Minimize a] -> ShowS #