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/4594e4c1-af9c-45d4-8dff-ea60833ed8dfn%40googlegroups.com.

Reply via email to