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 layout named OneBig. It places one (master) window at top left corner of screen, and other (slave) windows at top
Usage
This module defines layout named OneBig. It places one (master) window at top left, and other (slave) windows at right and at bottom of master. It tries to give equal space for each slave window.
You can use this module by adding following in your xmonad.hs
:
import XMonad.Layout.OneBig
Then add layouts to your layoutHook:
myLayoutHook = OneBig (3/4) (3/4) ||| ...
In this example, master window will occupy 3/4 of screen width and 3/4 of screen height.
Data type for layout
Instances
LayoutClass OneBig a Source # | |
Defined in XMonad.Layout.OneBig runLayout :: Workspace WorkspaceId (OneBig a) a -> Rectangle -> X ([(a, Rectangle)], Maybe (OneBig a)) # doLayout :: OneBig a -> Rectangle -> Stack a -> X ([(a, Rectangle)], Maybe (OneBig a)) # pureLayout :: OneBig a -> Rectangle -> Stack a -> [(a, Rectangle)] # emptyLayout :: OneBig a -> Rectangle -> X ([(a, Rectangle)], Maybe (OneBig a)) # handleMessage :: OneBig a -> SomeMessage -> X (Maybe (OneBig a)) # pureMessage :: OneBig a -> SomeMessage -> Maybe (OneBig a) # description :: OneBig a -> String # | |
Read (OneBig a) Source # | |
Show (OneBig a) Source # | |