Re: How to put new clients lower

2010-05-16 Thread Gregor Best
On Thu, May 13, 2010 at 08:45:54PM +1000, Adam Nielsen wrote: [...] This is good for apps that have already loaded, but is there also a way to do it, say, if you launch the app by typing into the Run box, then switch tags/screens? Is there a way to say that any windows spawned by that process

Re: Keeping spawned apps on original tag (was: How to put new clients lower)

2010-05-16 Thread Adam Nielsen
Yes, there is. awesome.spawn() returns the pid of the spawned process. You could store the tag and screen that's active when using the run prompt to spawn something and have the manage handler use these data when the client is finally managed. The pid of a client is stored in its .pid property.