| xmonad-contrib-0.9.1: Third party extensions for xmonad | Source code | Contents | Index

XMonad.Actions.RotSlaves

Portability | unportable
Stability | stable
Maintainer | Hans Philipp Annen <haphi@gmx.net>

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

rotSlaves' :: ([a] -> [a]) -> Stack a -> Stack a
rotSlavesUp :: X ()
rotSlavesDown :: X ()
rotAll' :: ([a] -> [a]) -> Stack a -> Stack a
rotAllUp :: X ()
rotAllDown :: X ()

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 XMonad.Doc.Extending.

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

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

rotSlavesUp :: X () | Source

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

rotAllDown :: X () | Source

Rotate all the windows in the current stack.
Produced by Haddock version 2.4.2