I&#39;m a former sawfish user, and I used to have this really awesome keyboard shortcut called &quot;jump-or-exec&quot;. I would press for example Super+F, and if Firefox was not running, it would be executed, and if it was already running, then it would be given focus. I had similar shortcuts for emacs, terminals, etc.<br>
<br>I&#39;m a bit of a haskell newb -- I can tell that I can simply use &#39;spawn&#39; to launch a process, and if I had a list of current windows I would know how to iterate through them and find out whether one currently exists, but I don&#39;t know how to get such a list. Ideally I&#39;d like to be able to match against window title or class. Is there a way to do this with xmonad?<br>