xmonad-contrib-0.13: Third party extensions for xmonad

Copyright(c) Peter De Wachter <pdewacht@gmail.com>
LicenseBSD3-style (see LICENSE)
MaintainerPeter De Wachter <pdewacht@gmail.com> Andrea Rossato <andrea.rossato@unibz.it>
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell98

XMonad.Layout.HintedTile

Contents

Description

A gapless tiled layout that attempts to obey window size hints, rather than simply ignoring them.

Synopsis

Usage

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

import XMonad.Layout.HintedTile

Then edit your layoutHook by adding the HintedTile layout:

myLayout = hintedTile Tall ||| hintedTile Wide ||| Full ||| etc..
  where
     hintedTile = HintedTile nmaster delta ratio TopLeft
     nmaster    = 1
     ratio      = 1/2
     delta      = 3/100
main = xmonad def { layoutHook = myLayout }

Because both Xmonad and Xmonad.Layout.HintedTile define Tall, you need to disambiguate Tall. If you are replacing the built-in Tall with HintedTile, change import Xmonad to import Xmonad hiding (Tall).

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending

data HintedTile a Source #

Constructors

HintedTile 

Fields

Instances

LayoutClass HintedTile Window Source # 

Methods

runLayout :: Workspace WorkspaceId (HintedTile Window) Window -> Rectangle -> X ([(Window, Rectangle)], Maybe (HintedTile Window))

doLayout :: HintedTile Window -> Rectangle -> Stack Window -> X ([(Window, Rectangle)], Maybe (HintedTile Window))

pureLayout :: HintedTile Window -> Rectangle -> Stack Window -> [(Window, Rectangle)]

emptyLayout :: HintedTile Window -> Rectangle -> X ([(Window, Rectangle)], Maybe (HintedTile Window))

handleMessage :: HintedTile Window -> SomeMessage -> X (Maybe (HintedTile Window))

pureMessage :: HintedTile Window -> SomeMessage -> Maybe (HintedTile Window)

description :: HintedTile Window -> String

Read (HintedTile a) Source # 
Show (HintedTile a) Source #