xmonad-contrib-0.18.0.9: Community-maintained extensions for xmonad
Copyright(c) Spencer Janssen <spencerjanssen@gmail.com>
David Roundy <droundy@darcs.net>
Andrea Rossato <andrea.rossato@unibz.it>
LicenseBSD3-style (see LICENSE)
MaintainerAndrea Rossato <andrea.rossato@unibz.it>
Stabilityunstable
Portabilityunportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

XMonad.Layout.DragPane

Contents

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

Usage

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

import XMonad.Layout.DragPane

Then edit your layoutHook by adding the DragPane layout:

myLayout = dragPane Horizontal 0.1 0.5 ||| Full ||| etc..
main = xmonad def { layoutHook = myLayout }

For more detailed instructions on editing the layoutHook see the tutorial and XMonad.Doc.Extending.

data DragPane a Source #

Instances

Instances details
LayoutClass DragPane a Source # 
Instance details

Defined in XMonad.Layout.DragPane

Read (DragPane a) Source # 
Instance details

Defined in XMonad.Layout.DragPane

Show (DragPane a) Source # 
Instance details

Defined in XMonad.Layout.DragPane

Methods

showsPrec :: Int -> DragPane a -> ShowS #

show :: DragPane a -> String #

showList :: [DragPane a] -> ShowS #

data DragType Source #

Constructors

Horizontal 
Vertical 

Instances

Instances details
Read DragType Source # 
Instance details

Defined in XMonad.Layout.DragPane

Show DragType Source # 
Instance details

Defined in XMonad.Layout.DragPane