xmonad-contrib-0.6: Third party extensions for xmonadSource codeContentsIndex
XMonad.Layout.LayoutCombinators
Portabilityportable
Stabilityunstable
MaintainerDavid Roundy <droundy@darcs.net>
Contents
Usage
Combinators using DragPane vertical
Combinators using DragPane horizontal
Combinators using Tall (vertical)
Combinators using Mirror Tall (horizontal)
A new combinator
Description
A module for combining other layouts.
Synopsis
(**||*) :: (Read a, Eq a, LayoutClass l1 a, LayoutClass l2 a) => l1 a -> l2 a -> CombineTwo (DragPane ()) l1 l2 a
(**//*) :: (Read a, Eq a, LayoutClass l1 a, LayoutClass l2 a) => l1 a -> l2 a -> CombineTwo (DragPane ()) l1 l2 a
(**|*) :: (Read a, Eq a, LayoutClass l1 a, LayoutClass l2 a) => l1 a -> l2 a -> CombineTwo (Tall ()) l1 l2 a
(**/*) :: (Read a, Eq a, LayoutClass l1 a, LayoutClass l2 a) => l1 a -> l2 a -> CombineTwo (Mirror Tall ()) l1 l2 a
(|||) :: (LayoutClass l1 a, LayoutClass l2 a) => l1 a -> l2 a -> NewSelect l1 l2 a
data JumpToLayout = JumpToLayout String
Usage

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

 import XMonad.Layout.LayoutCombinators hiding ( (|||) )

Then edit your layoutHook by using the new layout combinators:

 myLayouts = (Tall 1 (3/100) (1/2) *//* Full)  ||| (Tall 1 (3/100) (1/2) ***||** Full) ||| Full ||| etc..
 main = xmonad defaultConfig { layoutHook = myLayouts }

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending#Editing_the_layout_hook

Combinators using DragPane vertical
These combinators combine two layouts using XMonad.DragPane in vertical mode.
(**||*) :: (Read a, Eq a, LayoutClass l1 a, LayoutClass l2 a) => l1 a -> l2 a -> CombineTwo (DragPane ()) l1 l2 aSource
Combinators using DragPane horizontal
These combinators combine two layouts using XMonad.DragPane in horizontal mode.
(**//*) :: (Read a, Eq a, LayoutClass l1 a, LayoutClass l2 a) => l1 a -> l2 a -> CombineTwo (DragPane ()) l1 l2 aSource
Combinators using Tall (vertical)
These combinators combine two layouts vertically using Tall.
(**|*) :: (Read a, Eq a, LayoutClass l1 a, LayoutClass l2 a) => l1 a -> l2 a -> CombineTwo (Tall ()) l1 l2 aSource
Combinators using Mirror Tall (horizontal)
These combinators combine two layouts horizontally using Mirror Tall (a wide layout).
(**/*) :: (Read a, Eq a, LayoutClass l1 a, LayoutClass l2 a) => l1 a -> l2 a -> CombineTwo (Mirror Tall ()) l1 l2 aSource
A new combinator
A new layout combinator that allows the use of a prompt to change layout. For more information see Xmonad.Prompt.Layout
(|||) :: (LayoutClass l1 a, LayoutClass l2 a) => l1 a -> l2 a -> NewSelect l1 l2 aSource
data JumpToLayout Source
Constructors
JumpToLayout String
show/hide Instances
Produced by Haddock version 2.3.0