Copyright | (c) 2009 Ilya Portnov |
---|---|

License | BSD3-style (see LICENSE) |

Maintainer | Ilya Portnov <portnov84@rambler.ru> |

Stability | unstable |

Portability | unportable |

Safe Haskell | None |

Language | Haskell2010 |

Provides Column layout that places all windows in one column. Windows
heights are calculated from equation: H1*H2 = H2*H3 = ... = q, where q is
given. With Shrink/Expand messages you can change the q value.

# Usage

This module defines layot named Column. It places all windows in one
column. Windows heights are calculated from equation: H1*H2 = H2*H3 = ... =
q, where `q`

is given (thus, windows heights are members of geometric
progression). With Shrink/Expand messages one can change the `q`

value.

You can use this module by adding folowing in your `xmonad.hs`

:

import XMonad.Layout.Column

Then add layouts to your layoutHook:

myLayoutHook = Column 1.6 ||| ...

In this example, each next window will have height 1.6 times less then previous window.

#### Instances

LayoutClass Column a Source # | |

Defined in XMonad.Layout.Column runLayout :: Workspace WorkspaceId (Column a) a -> Rectangle -> X ([(a, Rectangle)], Maybe (Column a)) # doLayout :: Column a -> Rectangle -> Stack a -> X ([(a, Rectangle)], Maybe (Column a)) # pureLayout :: Column a -> Rectangle -> Stack a -> [(a, Rectangle)] # emptyLayout :: Column a -> Rectangle -> X ([(a, Rectangle)], Maybe (Column a)) # handleMessage :: Column a -> SomeMessage -> X (Maybe (Column a)) # pureMessage :: Column a -> SomeMessage -> Maybe (Column a) # description :: Column a -> String # | |

Read (Column a) Source # | |

Show (Column a) Source # | |