|Maintainer||Daniel Schoepe <firstname.lastname@example.org>|
A prompt for evaluating Haskell expressions(in the context of the running xmonad instance).
You can use this module with the following in your
import XMonad.Prompt import XMonad.Prompt.Eval
in your keybindings add:
, ((modMask x .|. controlMask, xK_x), evalPrompt defaultEvalConfig)
For detailed instruction on editing the key binding see XMonad.Doc.Extending.
A prompt that evaluates the entered Haskell expression, whose type has to be an instance of Show.
The same as
evalPrompt, but lets the user supply a function to be
executed on the returned string, which is produced by applying show
to the executed expression. (This is a crude solution, but the returned
type has to be monomorphic)
A nice default to have the result of an expression displayed by dzen, if it's interesting (i.e. not () or an empty string). The first parameter specifies the display time in microseconds, the second parameter allows to pass additional options to dzen.