Copyright | (c) 2009 Ilya Portnov |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | Ilya Portnov <portnov84@rambler.ru> |
Stability | unstable |
Portability | unportable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Provides Column layout that places all windows in one column. Windows heights are calculated from the equation: H1H2 = H2H3 = ... = q, where q is given. With Shrink/Expand messages you can change the q value.
Usage
This module defines layout named Column. It places all windows in one
column. Windows heights are calculated from the 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 following 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 # | |