On Fri, Oct 09, 2015 at 09:55:50AM -0700, Roy Mathew wrote:
> Hi folks,
> 
> I've set up this hook, and it works.. but both applications open up in the 
> initial default
> group ('a'). How would I configure each to open in a specific window group 
> (eg: 's' and 'd').
>
> @hook.subscribe.startup_once
> def startup():
>     for cmd in [
>             'google-chrome',
>             'emacs'
>             ]:
>         subprocess.Popen(cmd.split())
> 
> 
> 
> I'm using the develop branch of qtile.

There's no way to do that with the startup mechanism, but you could
change things slightly,

groups = [
  Group('a', spawn="google-chrome"),
  Group('s', spawn="emacs"),
]

Tycho

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to