xmonad-contrib-0.13: Third party extensions for xmonad

Copyright(c) Rickard Gustafsson <acura@allyourbase.se>
LicenseBSD-style (see LICENSE)
MaintainerRickard Gustafsson <acura@allyourbase.se>
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell98

XMonad.Layout.StackTile

Contents

Description

A stacking layout, like dishes but with the ability to resize master pane. Mostly useful on small screens.

Synopsis

Usage

You can use this module with the following in your ~/.xmonad/xmonad.hs:

import XMonad.Layout.StackTile

Then edit your layoutHook by adding the StackTile layout:

myLayout =  StackTile 1 (3/100) (1/2) ||| etc..
main = xmonad def { layoutHook = myLayout }

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending

data StackTile a Source #

Constructors

StackTile !Int !Rational !Rational 

Instances

LayoutClass StackTile a Source # 

Methods

runLayout :: Workspace WorkspaceId (StackTile a) a -> Rectangle -> X ([(a, Rectangle)], Maybe (StackTile a))

doLayout :: StackTile a -> Rectangle -> Stack a -> X ([(a, Rectangle)], Maybe (StackTile a))

pureLayout :: StackTile a -> Rectangle -> Stack a -> [(a, Rectangle)]

emptyLayout :: StackTile a -> Rectangle -> X ([(a, Rectangle)], Maybe (StackTile a))

handleMessage :: StackTile a -> SomeMessage -> X (Maybe (StackTile a))

pureMessage :: StackTile a -> SomeMessage -> Maybe (StackTile a)

description :: StackTile a -> String

Read (StackTile a) Source # 
Show (StackTile a) Source #