Thanks for replying so quickly, I found the match but here is how my config 
defines groups (It's a frankenstein from different github)
group_names = [("1", {'layout': 'monadtall'}),
               ("2", {'layout': 'monadtall'}),
               ("3", {'layout': 'monadtall'}),
               ("4", {'layout': 'monadtall'}),
               ("5", {'layout': 'monadtall'}),
               ("6", {'layout': 'monadtall'}),
               ("7", {'layout': 'monadtall'}),
               ("8", {'layout': 'monadtall'}),
               ("9", {'layout': 'monadtall'})]

groups = [Group(name, **kwargs) for name, kwargs in group_names]

so I cannot figure out how to insert mtch in there.
On Saturday, November 28, 2020 at 10:07:30 AM UTC tcld wrote:

> I forgot: Call xprop from your terminal to find out about window titles, 
> classes etc. Calling the program gives you a mouse cursor you can then use 
> to click on a specific window. All the information will be dumped in the 
> terminal.
>
> On Saturday, 28 November 2020 at 11:06:12 UTC+1 tcld wrote:
>
>> You can influence it when defining your groups. With the most recent 
>> version of Qtile (github) it works like this:
>>
>> Group('sys', position=9, label='', layout='bsp', 
>> matches=[Match(title='updates'), Match(wm_class='Gnome-system-monitor'), 
>> Match(wm_class='VirtualBox Manager')])
>>
>> If you are on 0.16.1 or later, the syntax is slightly different (this is 
>> from memory only, so I suggest you test it by importing your config through 
>> the Python commandline or something similar):
>>
>> Group('sys', position=9, label='', layout='bsp', 
>> matches=[Match(title=['updates'], wm_class=['Gnome-system-monitor', 
>> 'VirtualBox Manager'])])
>>
>> I found the Match-class a little underdocumented myself when I started 
>> out. :)
>>
>> On Saturday, 28 November 2020 at 10:53:56 UTC+1 [email protected] 
>> wrote:
>>
>>>
>>> Hi guys 
>>> I've been looking around github and the qtile documentation for 2 or 3 
>>> days but I can't figure out how to have an app always open in a particular 
>>> group.
>>>
>>> Thanks in advance and sorry for the very basic question.
>>>
>>

-- 
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/ed74eb4a-c8e1-4450-9103-37b6b555ea8dn%40googlegroups.com.

Reply via email to