XMonad.Actions.DwmPromote

xmonad-contrib-0.18.1: Community-maintained extensions for xmonad

Copyright | (c) Miikka Koskinen 2007
License | BSD3-style (see LICENSE)
Maintainer | arcatan@kapsi.fi
Stability | stable
Portability | unportable
Safe Haskell | None
Language | Haskell2010

XMonad.Actions.DwmPromote

Contents

- Usage

Description

Dwm-like swap function for xmonad.

Swaps focused window with the master window. If focus is in the master, swap it with the next window in the stack. Focus stays in the master.

Synopsis

- dwmpromote :: X ()

# Usage

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

       import XMonad.Actions.DwmPromote

then add a keybinding or substitute `dwmpromote` in place of promote:

      , ((modm,               xK_Return), dwmpromote)

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

dwmpromote :: X () #

Swap the focused window with the master window. If focus is in the master, swap it with the next window in the stack. Focus stays in the master.