xmonad-contrib-0.18.0.9: Community-maintained extensions for xmonad
Copyright(c) Jan Vornberger 2009
LicenseBSD3-style (see LICENSE)
Maintainerjan.vornberger@informatik.uni-oldenburg.de
Stabilityunstable
Portabilitynot portable
Safe HaskellSafe-Inferred
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.hs:

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

borderResizeNear :: Dimension -> l a -> ModifiedLayout BorderResize l a Source #

Like borderResize, but takes the number of pixels near the border up to which dragging still resizes a window.

data BorderResize a Source #

Constructors

BR 

Fields

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