xmonad-contrib-0.17.0: Community-maintained extensions extensions for xmonad
Copyright(c) Jan Vornberger 2009
LicenseBSD3-style (see LICENSE)
Maintainerjan.vornberger@informatik.uni-oldenburg.de
Stabilityunstable
Portabilitynot portable
Safe HaskellNone
LanguageHaskell2010

XMonad.Layout.BorderResize

Contents

Description

This layout modifier will allow to resize windows by dragging their borders with the mouse. However, it only works in layouts or modified layouts that react to the SetGeometry message. XMonad.Layout.WindowArranger can be used to create such a setup, but it is probably must useful in a floating layout such as XMonad.Layout.PositionStoreFloat with which it has been mainly tested. See the documentation of PositionStoreFloat for a typical usage example.

Synopsis

Usage

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

import XMonad.Layout.BorderResize
myLayout = borderResize (... layout setup that reacts to SetGeometry ...)
main = xmonad def { layoutHook = myLayout }

newtype BorderResize a Source #

Constructors

BR (Map Window RectWithBorders) 

Instances

Instances details
LayoutModifier BorderResize Window Source # 
Instance details

Defined in XMonad.Layout.BorderResize

Read (BorderResize a) Source # 
Instance details

Defined in XMonad.Layout.BorderResize

Show (BorderResize a) Source # 
Instance details

Defined in XMonad.Layout.BorderResize