xmonad-contrib-0.18.0: Community-maintained extensions for xmonad
Copyright(c) 2009 Ilya Portnov
LicenseBSD-style (see xmonad/LICENSE)
MaintainerIlya Portnov <portnov84@rambler.ru>
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

XMonad.Layout.CenteredMaster

Contents

Description

Two layout modifiers. centerMaster places master window at center, on top of all other windows, which are managed by base layout. topRightMaster is similar, but places master window in top right corner instead of center.

Synopsis

Usage

This module defines two new layout modifiers: centerMaster and topRightMaster. centerMaster places master window at center of screen, on top of others. All other windows in background are managed by base layout. topRightMaster is like centerMaster, but places master window in top right corner instead of center.

Yo can use this module by adding folowing in your xmonad.hs:

import XMonad.Layout.CenteredMaster

Then add layouts to your layoutHook:

myLayoutHook = centerMaster Grid ||| ...

centerMaster :: LayoutClass l a => l a -> ModifiedLayout CenteredMaster l a Source #

Modifier that puts master window in center, other windows in background are managed by given layout

topRightMaster :: LayoutClass l a => l a -> ModifiedLayout TopRightMaster l a Source #

Modifier that puts master window in top right corner, other windows in background are managed by given layout

data CenteredMaster a Source #

Data type for LayoutModifier

Instances

Instances details
LayoutModifier CenteredMaster Window Source # 
Instance details

Defined in XMonad.Layout.CenteredMaster

Read (CenteredMaster a) Source # 
Instance details

Defined in XMonad.Layout.CenteredMaster

Show (CenteredMaster a) Source # 
Instance details

Defined in XMonad.Layout.CenteredMaster

data TopRightMaster a Source #

Instances

Instances details
LayoutModifier TopRightMaster Window Source # 
Instance details

Defined in XMonad.Layout.CenteredMaster

Read (TopRightMaster a) Source # 
Instance details

Defined in XMonad.Layout.CenteredMaster

Show (TopRightMaster a) Source # 
Instance details

Defined in XMonad.Layout.CenteredMaster