xmonad-contrib-0.13: Third party extensions for xmonad

Copyright(c) 2016 Kurt Dietrich
LicenseBSD-style (see xmonad/LICENSE)
Maintainerkurto@mac.com
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell98

XMonad.Layout.SortedLayout

Contents

Description

A LayoutModifier that sorts the windows in another layout, given a list of properties. The order of properties in the list determines the order of windows in the final layout. Any unmatched windows go to the end of the order.

Synopsis

Usage:

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

import XMonad.Layout.SortedLayout

Then edit your layoutHook to sort another layout (in this case, Grid):

myLayout = sorted [ClassName "Firefox", ClassName "URxvt"] Grid
main = xmonad def { layoutHook = myLayout }

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending

sorted :: [Property] -> l a -> ModifiedLayout SortedLayout l a Source #

Modify a layout using a list of properties to sort its windows.