Copyright | (C) 2007 Andrea Rossato |
---|---|
License | BSD3 |
Maintainer | andrea.rossato@unibz.it |
Stability | unstable |
Portability | unportable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A prompt for changing the theme of the current workspace
Synopsis
- themePrompt :: XPConfig -> X ()
- data ThemePrompt
Usage
You can use this module with the following in your
~/.xmonad/xmonad.hs
:
import XMonad.Prompt import XMonad.Prompt.Theme
in your keybindings add:
, ((modm .|. controlMask, xK_t), themePrompt def)
For detailed instruction on editing the key binding see XMonad.Doc.Extending.
themePrompt :: XPConfig -> X () Source #
data ThemePrompt Source #
Instances
XPrompt ThemePrompt Source # | |
Defined in XMonad.Prompt.Theme showXPrompt :: ThemePrompt -> String Source # nextCompletion :: ThemePrompt -> String -> [String] -> String Source # commandToComplete :: ThemePrompt -> String -> String Source # completionToCommand :: ThemePrompt -> String -> String Source # completionFunction :: ThemePrompt -> ComplFunction Source # modeAction :: ThemePrompt -> String -> String -> X () Source # |