xmonad-contrib-0.6: Third party extensions for xmonadSource codeContentsIndex
XMonad.Layout.DragPane
Portabilityunportable
Stabilityunstable
MaintainerDavid Roundy <droundy@darcs.net> Andrea Rossato <andrea.rossato@unibz.it>
Contents
Usage
Description
Layouts that splits the screen either horizontally or vertically and shows two windows. The first window is always the master window, and the other is either the currently focused window or the second window in layout order.
Synopsis
dragPane :: DragType -> Double -> Double -> DragPane a
data DragPane a
data DragType
= Horizontal
| Vertical
Usage

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

 import XMonad.Layout.DragPane

Then edit your layoutHook by adding the DragPane layout:

 myLayouts = dragPane Horizontal 0.1 0.5 ||| Full ||| etc..
 main = xmonad defaultConfig { layoutHook = myLayouts }

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending#Editing_the_layout_hook

dragPane :: DragType -> Double -> Double -> DragPane aSource
data DragPane a Source
show/hide Instances
data DragType Source
Constructors
Horizontal
Vertical
show/hide Instances
Produced by Haddock version 2.3.0