added drop-down menu for org-agenda

This commit is contained in:
paul-loedige
2023-12-20 14:16:08 +01:00
parent ae61456f76
commit 45d8370c19
+5 -4
View File
@@ -115,13 +115,14 @@ groups.append(
match = Match(wm_class='telegram-desktop')
),
DropDown(
'Calendar',
'surf https://cloud.ploedige.com/apps/calendar/dayGridMonth/now',
'Org Agenda',
'emacsclient -c -e \'(org-agenda-list)\'',
height = 0.5,
width = 0.8,
x = 0.1,
on_focus_lost_hide=True,
opacity=1,
match = Match(wm_class='emacs')
)
])
)
@@ -160,6 +161,6 @@ keys.extend([
desc="open the dropdown for Qalculate!"),
Key(['mod1','control'],'d',lazy.group['scratchpad'].dropdown_toggle('Deepl'),
desc="open the dropdown for Deepl"),
Key(['mod1','control'],'k',lazy.group['scratchpad'].dropdown_toggle('Calendar'),
desc="open the dropdown for Nextcloud Calendar")
Key(['mod1','control'],'k',lazy.group['scratchpad'].dropdown_toggle('Org Agenda'),
desc="open the dropdown for Org Agenda")
])