| xmonad-contrib-0.8.1: Third party extensions for xmonad | Contents | Index

XMonad.Actions.RotSlaves

Portability | unportable
Stability | unstable
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:

     , ((modMask x .|. 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#Editing_key_bindings.

rotSlaves' :: ([a] -> [a]) -> Stack a -> Stack a
The actual rotation, as a pure function on the window stack.
rotSlavesUp :: X ()
rotSlavesDown :: X ()
Rotate the windows in the current stack, excluding the first one (master).
rotAll' :: ([a] -> [a]) -> Stack a -> Stack a
The actual rotation, as a pure function on the window stack.
rotAllUp :: X ()
rotAllDown :: X ()
Rotate all the windows in the current stack.
Produced by Haddock version 2.1.0