On Mon, Jul 20, 2020 at 12:17:18PM -0700, egemen şahin wrote:
> I have set up like this to assign some applications to specific groups:
> assignments = {}
> assignments["1"] = ["Xfce4-terminal", "xfce4-terminal"]
> assignments["2"] = ["Chromium", "chromium"]
> assignments["3"] = ["Code-oss", "Geany", "Mousepad",
>                     "code-oss", "geany", "mousepad"]
> assignments["4"] = ["Spotify", "spotify"]
> assignments["5"] = ["Pcmanfm", "pcmanfm"]
> @hook.subscribe.client_new
> def assign_app_group(client):
>     wm_class = client.window.get_wm_class()[0]
>     for i in list(assignments.keys()):
>         if wm_class in assignments[i]:
>             client.togroup(i, switch_group=True)
> I would like it to put applications in specific groups and then bring that 
> group to screen. It works when I open a terminal in the 2nd group; it put 
> that terminal to the 1st group 
> and then brings the 1st group to screen. But when I want to open a second 
> terminal when I am in the first group, it "toggles" back to the 2nd group; 
> doesn't stay in the first 
> one.

Looks like a bug, can you confirm that this fixes it?

https://github.com/qtile/qtile/pull/1827

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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/20200720203828.GD4117245%40cisco.

Reply via email to