From 7c8c39ab907d3a5de6aa891b68ba0d8175011870 Mon Sep 17 00:00:00 2001 From: BardofSprites <89086143+BardofSprites@users.noreply.github.com> Date: Thu, 28 Nov 2024 17:53:46 -0500 Subject: open calendar function --- bard-elisp/bard-calendar.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bard-elisp/bard-calendar.el b/bard-elisp/bard-calendar.el index 9e5be52..1e3cdb2 100644 --- a/bard-elisp/bard-calendar.el +++ b/bard-elisp/bard-calendar.el @@ -18,7 +18,11 @@ (substring-no-properties org-mode-line-string) "No task clocked in")) -;; ----- +(defun bard/open-calendar () + "Opens calendar as only window" + (interactive) + (calendar) + (delete-other-windows)) ;; Org Agenda -- cgit v1.2.3