xmonad-contrib-0.17.0.9: Community-maintained extensions for xmonad
CopyrightDevin Mullins <me@twifkak.com>
LicenseBSD-style (see LICENSE)
MaintainerDevin Mullins <me@twifkak.com>
Stabilitystable
Portabilityunportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

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.

data WindowBringerConfig Source #

Constructors

WindowBringerConfig 

Fields

Instances

Instances details
Default WindowBringerConfig Source # 
Instance details

Defined in XMonad.Actions.WindowBringer

gotoMenu :: X () Source #

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

gotoMenuConfig :: WindowBringerConfig -> X () Source #

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.

bringMenu :: X () Source #

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

bringMenuConfig :: WindowBringerConfig -> 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 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.

windowMap :: X (Map String Window) Source #

A map from window names to Windows.

windowAppMap :: X (Map String Window) Source #

A map from application executable names to Windows.

windowMap' :: WindowBringerConfig -> X (Map String Window) Source #

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

bringWindow :: Window -> WindowSet -> WindowSet Source #

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.