[Haskell-cafe] How to create a background program that monitors input (linux)

Travis Cardwell travis.cardwell at extellisys.com
Tue Apr 29 23:50:03 UTC 2014

On 2014年04月29日 23:55, EatsKittens wrote:
> Essentially, I want to create a program that is simply ran in the
> background, not in a terminal, that monitors keypresses and mouse presses
> and takes certain actions on specific keypresses. Where to start?

Perhaps you can get inspiration from XMonad [1]:


s/^grabKeys ::/




[1] http://xmonad.org/

More information about the Haskell-Cafe mailing list