I use a hook to acomplish this @hook.subscribe.client_name_updated def follow_window_name(client): for group in groups: match = next((m for m in group.matches if m.compare(client)), None) if match: targetgroup = qtile.groups_map[group.name] targetgroup.cmd_toscreen(toggle=False) break
You may need to edit it for you to work, one thing i have with this is for example, when i receive a new message on telegram, i inmeadiately get transported to the group where telegram is, so im still trying to fix that but this works so far On Sunday, July 10, 2022 at 9:19:18 AM UTC [email protected] wrote: > I have the exact same problem and dont know how to solve it. > > On Saturday, June 12, 2021 at 10:47:07 AM UTC+3 Justine Smithies wrote: > >> >> >> I'm not sure what I'm doing wrong or missing but i cannot seem to find >> the answer to the following issue that I have. I can easily get qtile to >> open applications in various groups by their wm_class for example but >> firefox only partially works. If I open firefox it does indeed switch to >> the group it is tasked to and if i move to another group and open another >> firefoxfox instance i am swiftly transported back to it's group and i see >> the two instances. My issue is that I use tabs on firefox and if i open a >> new tab using a selected link from newsboat it does open the new tab in the >> selected group but it does not change focus to the opened firefox tabs >> group. >> >> Is this possible or am I speaking rubbish ? >> >> My current qtile config is here: >> >> >> https://github.com/justinesmithies/dotfiles/blob/master/.config/qtile/config.py >> >> ATM I have setup newsboat to open a new firefox instance with a specific >> class to keep it in my newsboat group. >> >> Thanks in advance >> >> Justine >> > -- 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/3a65829c-70d7-4ef9-bd2a-6a243e341bcen%40googlegroups.com.
