added group for clickup and configured some group matches.

This commit is contained in:
paul-loedige
2021-11-23 18:03:00 +01:00
parent bb55faf73d
commit b1b1483dc1
+8 -6
View File
@@ -1,4 +1,5 @@
from libqtile.config import Group, ScratchPad, DropDown, Key
from typing import Match
from libqtile.config import Group, ScratchPad, DropDown, Key, Match
from libqtile.command import lazy
from defines import term
@@ -6,12 +7,13 @@ from Keys import keys
group_names = [("","Home", 'h',{'layout': 'monadtall'}),
("","Browser", 'f',{'layout': 'monadtall'}),
("","Mail", 'm',{'layout': 'monadtall'}),
("","Coding", 'c',{'layout': 'monadtall'}),
("","Mail", 'm',{'layout': 'monadtall', 'matches':[Match(wm_class="Mail")]}),
("","Coding", 'c',{'layout': 'monadtall', 'matches' : [Match(wm_class="code")]}),
("","Documents", 'l',{'layout': 'monadtall'}),
("","Music", 'u',{'layout': 'monadtall'}),
("","Video", 'v',{'layout': 'monadtall'}),
("","Discord", 'd',{'layout': 'monadtall'}),
("","Music", 'u',{'layout': 'monadtall', 'matches' : [Match(wm_class="spotify")]}),
("","Video", 'v',{'layout': 'monadtall', 'matches' : [Match(wm_class="vlc")]}),
("","Discord", 'd',{'layout': 'monadtall', 'matches':[Match(wm_class="discord")]}),
("","ClickUp", 'k',{'layout': 'monadtall', 'matches' : [Match(wm_class="clickup")]}),
("","etc1", '1', {'layout': 'monadtall'}),
("","etc2", '2', {'layout': 'monadtall'}),
("","etc3", '3', {'layout': 'monadtall'}),