Portability | unportable |
---|---|
Stability | stable |
Maintainer | Devin Mullins <me@twifkak.com> |
XMonad.Actions.WindowBringer
Contents
Description
dmenu operations to bring windows to you, and bring you to windows. That is to say, it pops up a dmenu with window names, in case you forgot where you left your XChat.
- gotoMenu :: X ()
- gotoMenu' :: String -> X ()
- bringMenu :: X ()
- windowMap :: X (Map String Window)
- bringWindow :: Window -> WindowSet -> WindowSet
Usage
Import the module into your ~/.xmonad/xmonad.hs
:
import XMonad.Actions.WindowBringer
and define appropriate key bindings:
, ((modm .|. shiftMask, xK_g ), gotoMenu) , ((modm .|. shiftMask, xK_b ), bringMenu)
For detailed instructions on editing your key bindings, see XMonad.Doc.Extending.
gotoMenu :: X ()
Pops open a dmenu with window titles. Choose one, and you will be taken to the corresponding workspace.
gotoMenu' :: String -> X ()
bringMenu :: X ()
Pops open a dmenu with window titles. Choose one, and it will be dragged, kicking and screaming, into your current workspace.
windowMap :: X (Map String Window)
A map from window names to Windows.
bringWindow :: Window -> WindowSet -> WindowSet
Brings the specified window into the current workspace.