I have another question regarding matches. I have it all working fine but I
would like to add to my dev group a check for title='vim' but no matter
what i try i get errors. Is it not possible to check for wm_class and title
on the same group ? as i would like to leave geany there but add a check
for title='vim' too
workspaces = [
{"name": " Home", "key": "1", "matches": [Match(wm_class='firefox')]},
{"name": " Dev", "key": "2", "matches": [Match(wm_class='geany')]},
{"name": " Chat", "key": "3", "matches":
[Match(wm_class='telegram-desktop')]},
{"name": " GFX", "key": "4", "matches": [Match(wm_class='gimp')]},
{"name": "阮 Music", "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"])))
--
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/CADrRWNYTRRpn_LYTB6Wc45F2OZsQCaRtAG7MkS-YHJxSPRzZPA%40mail.gmail.com.