From: Marco Obaid <[email protected]>
Sent: Tuesday, December 29, 2020 7:45 PM
To: [email protected]
Subject: FW: [qtile-dev] Help with automatically switching to a group
You probably need to add the hook below. I believe the “toggle=False” what did
the trick for me.
@hook.subscribe.client_new
def modify_window(client):
if (client.window.get_wm_transient_for() or client.window.get_wm_type() in
floating_types):
client.floating = True
for group in groups: # follow on auto-move
match = next((m for m in group.matches if m.compare(client)), None)
if match:
targetgroup = client.qtile.groups_map[ <http://group.name/>
group.name] # there can be multiple instances of a group
targetgroup.cmd_toscreen(toggle=False)
break
From: [email protected] <mailto:[email protected]>
<[email protected] <mailto:[email protected]> > On Behalf Of
Justine Smithies
Sent: Tuesday, December 29, 2020 4:20 PM
To: [email protected] <mailto:[email protected]>
Subject: Re: [qtile-dev] Help with automatically switching to a group
Hope this helps ?
https://github.com/justinesmithies/dotfiles/blob/master/.config/qtile/config.py
On Tue, 29 Dec 2020 at 22:01, Marco Obaid <[email protected]
<mailto:[email protected]> > wrote:
Can you share your config?
Sent from my iPhone
On Dec 29, 2020, at 3:37 PM, Justine Smithies <[email protected]
<mailto:[email protected]> > wrote:
I'm not sure if I'm explaining this correctly but I have managed to get certain
apps to open in a set group say for example I have groups 1-4 and if I open
geany it opens in group 2. This is fantastic but I still have to Windows key
and number 2 to get to it. Is there a way to have this take place automatically
when an app is opened ?
--
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]
<mailto:[email protected]> .
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/CADrRWNbj7vOktyO7u3XMuOQQo-DbA4U4ufC8_DB6yc%3DuvwXf8w%40mail.gmail.com
<https://groups.google.com/d/msgid/qtile-dev/CADrRWNbj7vOktyO7u3XMuOQQo-DbA4U4ufC8_DB6yc%3DuvwXf8w%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
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]
<mailto:[email protected]> .
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/7D927886-7021-4467-992F-54EE8D498523%40gmail.com
<https://groups.google.com/d/msgid/qtile-dev/7D927886-7021-4467-992F-54EE8D498523%40gmail.com?utm_medium=email&utm_source=footer>
.
--
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]
<mailto:[email protected]> .
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/CADrRWNYsusMRcni72OaKY_MDnHREN7CZv2Kk6DuahswAvwYo2w%40mail.gmail.com
<https://groups.google.com/d/msgid/qtile-dev/CADrRWNYsusMRcni72OaKY_MDnHREN7CZv2Kk6DuahswAvwYo2w%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
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/006e01d6de4d%2492807af0%24b78170d0%24%40gmail.com.