xmonad-contrib-0.18.0: Community-maintained extensions for xmonad

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

XMonad.Layout.Column

Contents

- Usage

Description

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

Synopsis

- newtype Column a = Column Float

# Usage

This module defines layot named Column. It places all windows in one column. Windows heights are calculated from equation: H1H2 = H2H3 = ... = 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.

newtype Column a #

Constructors

Column Float |

#### Instances

Instances details

LayoutClass Column a # |
Instance details Defined in XMonad.Layout.Column Methods 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) # |
Instance details Defined in XMonad.Layout.Column Methods readsPrec :: Int -> ReadS (Column a) # readList :: ReadS [Column a] # readPrec :: ReadPrec (Column a) # readListPrec :: ReadPrec [Column a] #
Show (Column a) # |
Instance details Defined in XMonad.Layout.Column Methods showsPrec :: Int -> Column a -> ShowS # show :: Column a -> String # showList :: [Column a] -> ShowS #