Copyright | Devin Mullins <me@twifkak.com> |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Devin Mullins <me@twifkak.com> |
Stability | stable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell98 |
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 ()
- gotoMenuArgs :: [String] -> X ()
- gotoMenuArgs' :: String -> [String] -> X ()
- bringMenu :: X ()
- bringMenu' :: String -> X ()
- bringMenuArgs :: [String] -> X ()
- bringMenuArgs' :: String -> [String] -> 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.
Pops open a dmenu with window titles. Choose one, and you will be taken to the corresponding workspace.
gotoMenu' :: String -> X () Source #
Pops open an application with window titles given over stdin. Choose one, and you will be taken to the corresponding workspace.
gotoMenuArgs :: [String] -> X () Source #
Pops open a dmenu with window titles. Choose one, and you will be taken to the corresponding workspace. This version takes a list of arguments to pass to dmenu.
gotoMenuArgs' :: String -> [String] -> X () Source #
Pops open an application with window titles given over stdin. Choose one, and you will be taken to the corresponding workspace. This version takes a list of arguments to pass to dmenu.
Pops open a dmenu with window titles. Choose one, and it will be dragged, kicking and screaming, into your current workspace.
bringMenu' :: String -> X () Source #
Pops open an application with window titles given over stdin. Choose one, and it will be dragged, kicking and screaming, into your current workspace.
bringMenuArgs :: [String] -> X () Source #
Pops open a dmenu with window titles. Choose one, and it will be dragged, kicking and screaming, into your current workspace. This version takes a list of arguments to pass to dmenu.