Ok, I will load your config and see what’s going on.

Sent from my iPhone

> On Dec 30, 2020, at 11:24 AM, Justine Smithies <[email protected]> wrote:
> 
> 
> I can't seem to get that to work ???
> 
> 
>> On Wed, 30 Dec 2020 at 01:46, <[email protected]> wrote:
>>  
>> 
>>  
>> 
>> 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[group.name]  # there can 
>> be multiple instances of a group
>> 
>>             targetgroup.cmd_toscreen(toggle=False)
>> 
>>             break
>> 
>>  
>> 
>>  
>> 
>> From: [email protected] <[email protected]> On Behalf Of 
>> Justine Smithies
>> Sent: Tuesday, December 29, 2020 4:20 PM
>> To: [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]> wrote:
>> 
>> Can you share your config? 
>> 
>> Sent from my iPhone
>> 
>>  
>> 
>> On Dec 29, 2020, at 3:37 PM, Justine Smithies <[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].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/qtile-dev/CADrRWNbj7vOktyO7u3XMuOQQo-DbA4U4ufC8_DB6yc%3DuvwXf8w%40mail.gmail.com.
>> 
>> -- 
>> 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/7D927886-7021-4467-992F-54EE8D498523%40gmail.com.
>> 
>> -- 
>> 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/CADrRWNYsusMRcni72OaKY_MDnHREN7CZv2Kk6DuahswAvwYo2w%40mail.gmail.com.
>> 
>> -- 
>> 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.
> 
> -- 
> 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/CADrRWNaZubf0Q4SZRqkAkT3xNHcrsA-p1Vu3aTVoH-BxtssHTA%40mail.gmail.com.

-- 
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/53524AFF-4A9B-4BCA-A5FB-F9E28B8AE0CA%40gmail.com.

Reply via email to