Copyright | (C) 2007 Andrea Rossato |
---|---|
License | BSD3 |
Maintainer | andrea.rossato@unibz.it |
Stability | unstable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell98 |
A prompt for running XMonad commands
Synopsis
- xmonadPrompt :: XPConfig -> X ()
- xmonadPromptC :: [(String, X ())] -> XPConfig -> X ()
- xmonadPromptCT :: String -> [(String, X ())] -> XPConfig -> X ()
- data XMonad
Usage
You can use this module with the following in your ~/.xmonad/xmonad.hs
:
import XMonad.Prompt import XMonad.Prompt.XMonad
in your keybindings add:
, ((modm .|. controlMask, xK_x), xmonadPrompt def)
For detailed instruction on editing the key binding see XMonad.Doc.Extending.
xmonadPrompt :: XPConfig -> X () Source #
xmonadPromptC :: [(String, X ())] -> XPConfig -> X () Source #
An xmonad prompt with a custom command list
xmonadPromptCT :: String -> [(String, X ())] -> XPConfig -> X () Source #
An xmonad prompt with a custom command list and a custom title
Instances
XPrompt XMonad Source # | |
Defined in XMonad.Prompt.XMonad showXPrompt :: XMonad -> String Source # nextCompletion :: XMonad -> String -> [String] -> String Source # commandToComplete :: XMonad -> String -> String Source # completionToCommand :: XMonad -> String -> String Source # |