xmonad-contrib-0.17.1: Community-maintained extensions for xmonad
Copyright(c) 2009 Ilya Portnov
LicenseBSD3-style (see LICENSE)
MaintainerIlya Portnov <portnov84@rambler.ru>
Stabilityunstable
Portabilityunportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

XMonad.Layout.Column

Contents

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

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 Source #

Constructors

Column Float 

Instances

Instances details
LayoutClass Column a Source # 
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) Source # 
Instance details

Defined in XMonad.Layout.Column

Show (Column a) Source # 
Instance details

Defined in XMonad.Layout.Column

Methods

showsPrec :: Int -> Column a -> ShowS #

show :: Column a -> String #

showList :: [Column a] -> ShowS #