Yes, that is the relevant config section. From my tests, it seems like it 
only works on the latest qtile-git (i.e. it will not work for qtile 
v.0.16.1).

On Tuesday, January 12, 2021 at 3:19:28 AM UTC-5 Cind wrote:

> is this what i need in my config? because it's not working.
>
> workspaces = [
>     {"name": "GEN", "key": "1", "matches": [Match(wm_class='firefox')]},
>     {"name": "DEV", "key": "2", "matches": [Match(wm_class='zathura')]},
>     {"name": "CHT", "key": "3", "matches": [Match(wm_class='discord')]},
>     {"name": "SYS", "key": "4", "matches": [Match(wm_class='ranger')]},
>     {"name": "MUS", "key": "5", "matches": [Match(wm_class='spotify')]},
> ]
>
>
> groups = []
> for workspace in workspaces:
>     matches = workspace["matches"] if "matches" in workspace else None
>     groups.append(Group(workspace["name"], matches=matches, 
> layout="monadtall"))
>     keys.append(Key([mod], workspace["key"], 
> lazy.group[workspace["name"]].toscreen()))
>     keys.append(Key([mod, "shift"], workspace["key"], 
> lazy.window.togroup(workspace["name"])))
>
> On Tuesday, January 12, 2021 at 6:20:44 PM UTC+11 Justine Smithies wrote:
>
>> Have a look at my config.py as I have mine setup to open various apps in 
>> various groups.
>>
>>
>> https://github.com/justinesmithies/dotfiles/blob/master/.config/qtile/config.py
>>
>

-- 
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/6a6ef28b-6e2f-4ffc-807f-2e4c7fcb4028n%40googlegroups.com.

Reply via email to