xmonad-contrib-0.18.1: Community-maintained extensions for xmonad
Copyright(c) Hans Philipp Annen <haphi@gmx.net> Mischa Dieterle <der_m@freenet.de>
LicenseBSD3-style (see LICENSE)
MaintainerHans Philipp Annen <haphi@gmx.net>
Stabilitystable
Portabilityunportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

XMonad.Actions.RotSlaves

Description

Rotate all windows except the master window and keep the focus in place.

Synopsis

Documentation

To use this module, import it with:

import XMonad.Actions.RotSlaves

and add whatever keybindings you would like, for example:

, ((modm .|. shiftMask, xK_Tab   ), rotSlavesUp)

This operation will rotate all windows except the master window, while the focus stays where it is. It is useful together with the TwoPane layout (see XMonad.Layout.TwoPane).

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

rotSlaves' :: ([a] -> [a]) -> Stack a -> Stack a Source #

The actual rotation, as a pure function on the window stack.

rotSlavesUp :: X () Source #

Rotate the windows in the current stack, excluding the first one (master).

rotSlavesDown :: X () Source #

Rotate the windows in the current stack, excluding the first one (master).

rotAll' :: ([a] -> [a]) -> Stack a -> Stack a Source #

The actual rotation, as a pure function on the window stack.

rotAllUp :: X () Source #

Rotate all the windows in the current stack.

rotAllDown :: X () Source #

Rotate all the windows in the current stack.

Generic list rotations

Generic list rotations such that rotUp [1..4] is equivalent to [2,3,4,1] and rotDown [1..4] to [4,1,2,3]. They both are id for null or singleton lists.

rotUp :: [a] -> [a] Source #

rotDown :: [a] -> [a] Source #