xmonad-contrib-0.16: Third party 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 | Haskell98

XMonad.Layout.OneBig

Contents

- Usage

Description

Provides layout named OneBig. It places one (master) window at top left corner of screen, and other (slave) windows at top

Synopsis

- data OneBig a = OneBig Float Float

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

Data type for layout

Constructors

OneBig Float Float |

#### Instances

Instances details

LayoutClass OneBig a Source # |

Instance details

Defined in XMonad.Layout.OneBig

Methods

runLayout :: Workspace WorkspaceId (OneBig a) a -> Rectangle -> X ([(a, Rectangle)], Maybe (OneBig a)) Source #

doLayout :: OneBig a -> Rectangle -> Stack a -> X ([(a, Rectangle)], Maybe (OneBig a)) Source #

pureLayout :: OneBig a -> Rectangle -> Stack a -> [(a, Rectangle)] Source #

emptyLayout :: OneBig a -> Rectangle -> X ([(a, Rectangle)], Maybe (OneBig a)) Source #

handleMessage :: OneBig a -> SomeMessage -> X (Maybe (OneBig a)) Source #

pureMessage :: OneBig a -> SomeMessage -> Maybe (OneBig a) Source #

description :: OneBig a -> String Source #

Read (OneBig a) Source # |
Instance details Defined in XMonad.Layout.OneBig Methods readsPrec :: Int -> ReadS (OneBig a) # readList :: ReadS [OneBig a] # readPrec :: ReadPrec (OneBig a) readListPrec :: ReadPrec [OneBig a]
Show (OneBig a) Source # |
Instance details Defined in XMonad.Layout.OneBig Methods showsPrec :: Int -> OneBig a -> ShowS # show :: OneBig a -> String # showList :: [OneBig a] -> ShowS #