added dropdown for org agenda

This commit is contained in:
paul-loedige
2023-12-12 22:35:22 +01:00
parent 4aee25dfd5
commit 264f54e94a
+5 -4
View File
@@ -115,13 +115,14 @@ groups.append(
match = Match(wm_class='telegram-desktop') match = Match(wm_class='telegram-desktop')
), ),
DropDown( DropDown(
'Calendar', 'Org Agenda (Calendar)',
'surf https://cloud.ploedige.com/apps/calendar/dayGridMonth/now', 'emacsclient -c -e \'(org-agenda-list)\'',
height = 0.5, height = 0.5,
width = 0.8, width = 0.8,
x = 0.1, x = 0.1,
on_focus_lost_hide=True, on_focus_lost_hide=True,
opacity=1, opacity=1,
match = Match(wm_class='emacs')
) )
]) ])
) )
@@ -160,6 +161,6 @@ keys.extend([
desc="open the dropdown for Qalculate!"), desc="open the dropdown for Qalculate!"),
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('Org Agenda (Calendar)'),
desc="open the dropdown for Nextcloud Calendar") desc="open the dropdown for my Org Agenda")
]) ])