xmonad-contrib-0.17.1.9: Community-maintained extensions for xmonad
Copyright(c) Miikka Koskinen 2007
LicenseBSD3-style (see LICENSE)
Maintainerxmonad@s001.ethrael.com
Stabilityunstable
Portabilityunportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

XMonad.Actions.Promote

Contents

Description

Alternate promote function for xmonad.

Moves the focused window to the master pane. All other windows retain their order. If focus is in the master, swap it with the next window in the stack. Focus stays in the master.

Synopsis

Usage

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

   import XMonad.Actions.Promote

then add a keybinding or substitute promote in place of swapMaster:

  , ((modm,               xK_Return), promote)

For detailed instructions on editing your key bindings, see the tutorial.

promote :: X () Source #

Move the focused window to the master pane. All other windows retain their order. If focus is in the master, swap it with the next windo in the stack. Focus stays in the master.