Portability | unportable |
---|---|
Stability | unstable |
Maintainer | Marco Tlio Gontijo e Silva <marcot@riseup.net> |
This module has functions to navigate through workspaces in a bidimensional manner. It allows the organization of workspaces in lines, and provides functions to move and shift windows in all four directions (left, up, right and down) possible in a surface.
This functionality was inspired by GNOME (finite) and KDE (infinite) keybindings for workspace navigation, and by XMonad.Actions.CycleWS for the idea of applying this approach to XMonad.
Usage
You can use this module with the following in your ~/.xmonad/xmonad.hs
file:
import XMonad.Actions.Plane main = xmonad defaultConfig {keys = myKeys} myKeys conf = union (keys defaultConfig conf) $ myNewKeys conf myNewkeys (XConfig {modMask = modm}) = planeKeys modm (Lines 3) Finite
For detailed instructions on editing your key bindings, see XMonad.Doc.Extending.
Data types
Defines the behaviour when you're trying to move out of the limits.
The number of lines in which the workspaces will be arranged. It's possible to use a number of lines that is not a divisor of the number of workspaces, but the results are better when using a divisor. If it's not a divisor, the last line will have the remaining workspaces.