xmonad-contrib-0.13: Third party extensions for xmonad

Copyright(c) 2007 Andrea Rossato
LicenseBSD-style (see xmonad/LICENSE)
Maintainerandrea.rossato@unibz.it
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell98

XMonad.Layout.ResizeScreen

Contents

Description

A layout transformer to have a layout respect a given screen geometry. Mostly used with Decoration (the Horizontal and the Vertical version will react to SetTheme and change their dimension accordingly.

Synopsis

Usage:

You can use this module by importing it into your ~/.xmonad/xmonad.hs file:

import XMonad.Layout.ResizeScreen

and modifying your layoutHook as follows (for example):

layoutHook = resizeHorizontal 40 Full

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending

data ResizeScreen a Source #

Constructors

ResizeScreen ResizeMode Int 
WithNewScreen Rectangle 

Instances

LayoutModifier ResizeScreen a Source # 

Methods

modifyLayout :: LayoutClass l a => ResizeScreen a -> Workspace WorkspaceId (l a) a -> Rectangle -> X ([(a, Rectangle)], Maybe (l a)) Source #

modifyLayoutWithUpdate :: LayoutClass l a => ResizeScreen a -> Workspace WorkspaceId (l a) a -> Rectangle -> X (([(a, Rectangle)], Maybe (l a)), Maybe (ResizeScreen a)) Source #

handleMess :: ResizeScreen a -> SomeMessage -> X (Maybe (ResizeScreen a)) Source #

handleMessOrMaybeModifyIt :: ResizeScreen a -> SomeMessage -> X (Maybe (Either (ResizeScreen a) SomeMessage)) Source #

pureMess :: ResizeScreen a -> SomeMessage -> Maybe (ResizeScreen a) Source #

redoLayout :: ResizeScreen a -> Rectangle -> Maybe (Stack a) -> [(a, Rectangle)] -> X ([(a, Rectangle)], Maybe (ResizeScreen a)) Source #

pureModifier :: ResizeScreen a -> Rectangle -> Maybe (Stack a) -> [(a, Rectangle)] -> ([(a, Rectangle)], Maybe (ResizeScreen a)) Source #

hook :: ResizeScreen a -> X () Source #

unhook :: ResizeScreen a -> X () Source #

modifierDescription :: ResizeScreen a -> String Source #

modifyDescription :: LayoutClass l a => ResizeScreen a -> l a -> String Source #

Read (ResizeScreen a) Source # 
Show (ResizeScreen a) Source #