Copyright Devin Mullins BSD-style (see LICENSE) Devin Mullins stable unportable Safe-Inferred Haskell2010

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.

Synopsis

# 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.

Constructors

 WindowBringerConfig FieldsmenuCommand :: StringThe shell command that will handle window selectionmenuArgs :: [String]Arguments to be passed to menuCommandwindowTitler :: WindowSpace -> Window -> X StringA function that produces window titles given a workspace and a windowwindowFilter :: Window -> X BoolFilter function to decide which windows to consider

#### Instances

Instances details
 Source # Instance detailsDefined in XMonad.Actions.WindowBringer Methods

gotoMenu :: X () Source #

Pops open a dmenu with window titles. Choose one, and you will be taken to the corresponding workspace.

Pops open a dmenu with window titles. Choose one, and you will be taken to the corresponding workspace. This version accepts a configuration object.

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.

Pops open a dmenu with window titles. Choose one, and it will be dragged, kicking and screaming, into your current workspace. This version accepts a configuration object.

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.

bringMenuArgs' :: String -> [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. This version allows arguments to the chooser to be specified.

A map from window names to Windows.

A map from application executable names to Windows.

A map from window names to Windows, given a windowTitler function.

Brings the specified window into the current workspace.

actionMenu :: WindowBringerConfig -> (Window -> WindowSet -> WindowSet) -> X () Source #

Calls dmenuMap to grab the appropriate Window, and hands it off to action if found.