Copyright | (c) Miikka Koskinen 2007 |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | arcatan@kapsi.fi |
Stability | stable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell98 |
Find an empty workspace.
- viewEmptyWorkspace :: X ()
- tagToEmptyWorkspace :: X ()
- sendToEmptyWorkspace :: X ()
Usage
To use, import this module into your ~/.xmonad/xmonad.hs
:
import XMonad.Actions.FindEmptyWorkspace
and add the desired keybindings, for example:
, ((modm, xK_m ), viewEmptyWorkspace) , ((modm .|. shiftMask, xK_m ), tagToEmptyWorkspace)
Now you can jump to an empty workspace with mod-m
. Mod-shift-m
will tag the current window to an empty workspace and view it.
For detailed instructions on editing your key bindings, see XMonad.Doc.Extending.
viewEmptyWorkspace :: X () Source
Find and view an empty workspace. Do nothing if all workspaces are in use.
tagToEmptyWorkspace :: X () Source
Tag current window to an empty workspace and view it. Do nothing if all workspaces are in use.
sendToEmptyWorkspace :: X () Source
Send current window to an empty workspace. Do nothing if all workspaces are in use.