xmonad-contrib-0.18.1.9: Community-maintained extensions for xmonad
Copyright(c) Spencer Janssen <spencerjanssen@gmail.com>
LicenseBSD3-style (see LICENSE)
MaintainerSpencer Janssen <spencerjanssen@gmail.com>
Stabilityunstable
Portabilityunportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

XMonad.Layout.TwoPane

Contents

Description

A layout that splits the screen horizontally and shows two windows. The left window is always the master window, and the right 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.TwoPane

Then edit your layoutHook by adding the TwoPane layout:

myLayout = TwoPane (3/100) (1/2)  ||| Full ||| etc..
main = xmonad def { layoutHook = myLayout }

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

data TwoPane a Source #

Constructors

TwoPane Rational Rational 

Instances

Instances details
LayoutClass TwoPane a Source # 
Instance details

Defined in XMonad.Layout.TwoPane

Read (TwoPane a) Source # 
Instance details

Defined in XMonad.Layout.TwoPane

Show (TwoPane a) Source # 
Instance details

Defined in XMonad.Layout.TwoPane

Methods

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

show :: TwoPane a -> String #

showList :: [TwoPane a] -> ShowS #