[xmonad] darcs patch: Support for spawning processes on a specific workspace

Roman Cheplyaka roma at ro-che.info
Sun Jan 25 15:54:21 EST 2009


* Daniel Schoepe <asgaroth_ at gmx.de> [2009-01-25 21:35:34+0100]
> Roman Cheplyaka wrote:
> > By the way, shouldn't it be possible with the same method to force
> > applications appear at the same workspace they were launched?
> 
> Yes, but only if they are launched in a way that gives xmonad access to
> the pid. The Prompt module could be adapted to return the pid of the
> spawned process(but I guess that could cause problems with expressions
> like "foo; bar"), but I don't think it would be possible when using
> external launchers like dmenu.

Sure. I mean, add a function (which can be then used in keybindings)
which launches application on *current* (rather than predefined)
workspace.

Patching Prompt.Shell on this subject would also be nice, but it can be
tricky indeed.

-- 
Roman I. Cheplyaka (aka Feuerbach @ IRC)
http://ro-che.info/docs/xmonad.hs


More information about the xmonad mailing list