Portability | not portable |
---|---|
Stability | unstable |
Maintainer | jan.vornberger@informatik.uni-oldenburg.de |
A layout in the spirit of XMonad.Layout.ResizableTile, but with the option to use the mouse to adjust the layout.
- mouseResizableTile :: MouseResizableTile a
- mouseResizableTileMirrored :: MouseResizableTile a
- data MRTMessage
Usage
You can use this module with the following in your ~/.xmonad/xmonad.hs
:
import XMonad.Layout.MouseResizableTile
Then edit your layoutHook
by adding the MouseResizableTile layout.
Either in its normal form or the mirrored version. (The mirror layout modifier
will not work correctly here because of the use of the mouse.)
myLayout = mouseResizableTile ||| etc.. main = xmonad defaultConfig { layoutHook = myLayout }
or
myLayout = mouseResizableTileMirrored ||| etc.. main = xmonad defaultConfig { layoutHook = myLayout }
For more detailed instructions on editing the layoutHook see:
You may also want to add the following key bindings:
, ((modm, xK_u), sendMessage ShrinkSlave) -- %! Shrink a slave area , ((modm, xK_i), sendMessage ExpandSlave) -- %! Expand a slave area
For detailed instruction on editing the key binding see:
mouseResizableTile :: MouseResizableTile aSource
mouseResizableTileMirrored :: MouseResizableTile aSource