Portability | not portable, Typeable deriving, mtl, posix |
---|---|
Stability | unstable |
Maintainer | spencerjanssen@gmail.com |
XMonad.Layout
Description
The collection of core layouts.
- data Full a = Full
- data Tall a = Tall {
- tallNMaster :: !Int
- tallRatioIncrement :: !Rational
- tallRatio :: !Rational
- newtype Mirror l a = Mirror (l a)
- data Resize
- data IncMasterN = IncMasterN !Int
- data Choose l r a
- (|||) :: (LayoutClass l a, LayoutClass r a) => l a -> r a -> Choose l r a
- data ChangeLayout
- mirrorRect :: Rectangle -> Rectangle
- splitVertically :: Int -> Rectangle -> [Rectangle]
- splitHorizontally :: Int -> Rectangle -> [Rectangle]
- splitHorizontallyBy :: RealFrac r => r -> Rectangle -> (Rectangle, Rectangle)
- splitVerticallyBy :: RealFrac r => r -> Rectangle -> (Rectangle, Rectangle)
- tile :: Rational -> Rectangle -> Int -> Int -> [Rectangle]
Documentation
The builtin tiling mode of xmonad. Supports Shrink
, Expand
and
IncMasterN
.
Constructors
Tall | Default proportion of screen occupied by master pane (default: 1/2) |
Fields
|
Mirror a layout, compute its 90 degree rotated form.
Constructors
Mirror (l a) |
data IncMasterN Source
Increase the number of clients in the master pane.
Constructors
IncMasterN !Int |
(|||) :: (LayoutClass l a, LayoutClass r a) => l a -> r a -> Choose l r aSource
The layout choice combinator
mirrorRect :: Rectangle -> RectangleSource
Mirror a rectangle.
splitVertically :: Int -> Rectangle -> [Rectangle]Source
splitHorizontally :: Int -> Rectangle -> [Rectangle]Source
Arguments
:: Rational |
|
-> Rectangle |
|
-> Int |
|
-> Int |
|
-> [Rectangle] |
Compute the positions for windows using the default two-pane tiling algorithm.
The screen is divided into two panes. All clients are then partioned between these two panes. One pane, the master, by convention has the least number of windows in it.