[xmonad] getting a string from a user

Daniel Schoepe asgaroth_ at gmx.de
Thu Feb 19 14:41:12 EST 2009


lowly coder wrote:
> I need to get a string from the user + do funky things with it.
> 
> This is like inverse of spawn "xmessage ... "
> 
> Dmenu does not "work" because I don't want to immediately run the
> program -- I need xmonad to get the string + do things with it + control
> how the program is started.
> 
> How can I do this?

You could use this:
http://hackage.haskell.org/packages/archive/xmonad-contrib/0.8.1/doc/html/XMonad-Prompt-Input.html
(dmenu by itself doesn't immediately execute a program either, but
outputs the string to stdout)


More information about the xmonad mailing list