added org mode group

This commit is contained in:
paul-loedige
2023-12-11 12:16:52 +01:00
parent fcc7a66377
commit 32c3708f27
+2 -12
View File
@@ -7,7 +7,8 @@ import re
from defines import mod,term from defines import mod,term
from Keys import keys from Keys import keys
group_names = [(" ","Home", 'h',{'layout': 'monadtall'}), group_names = [(" ","Org",'o',{'layout': 'monadtall'}),
("","Home", 'h',{'layout': 'monadtall'}),
("","Browser", 'f',{'layout': 'monadtall'}), ("","Browser", 'f',{'layout': 'monadtall'}),
("","Mail", 'm',{'layout': 'monadtall', 'matches':[Match(wm_class="Mail")]}), ("","Mail", 'm',{'layout': 'monadtall', 'matches':[Match(wm_class="Mail")]}),
("","Coding", 'c',{'layout': 'monadtall', 'matches' : [Match(wm_class="code")]}), ("","Coding", 'c',{'layout': 'monadtall', 'matches' : [Match(wm_class="code")]}),
@@ -121,15 +122,6 @@ groups.append(
x = 0.1, x = 0.1,
on_focus_lost_hide=True, on_focus_lost_hide=True,
opacity=1, opacity=1,
),
DropDown(
'ToDo',
'surf https://cloud.ploedige.com/apps/tasks/#/collections/week',
height = 0.5,
width = 0.8,
x = 0.1,
on_focus_lost_hide=True,
opacity=1,
) )
]) ])
) )
@@ -169,7 +161,5 @@ keys.extend([
Key(['mod1','control'],'d',lazy.group['scratchpad'].dropdown_toggle('Deepl'), Key(['mod1','control'],'d',lazy.group['scratchpad'].dropdown_toggle('Deepl'),
desc="open the dropdown for Deepl"), desc="open the dropdown for Deepl"),
Key(['mod1','control'],'k',lazy.group['scratchpad'].dropdown_toggle('Calendar'), Key(['mod1','control'],'k',lazy.group['scratchpad'].dropdown_toggle('Calendar'),
desc="open the dropdown for Nextcloud Calendar"),
Key(['mod1','control'],'o',lazy.group['scratchpad'].dropdown_toggle('ToDo'),
desc="open the dropdown for Nextcloud Calendar") desc="open the dropdown for Nextcloud Calendar")
]) ])