aboutsummaryrefslogtreecommitdiff
path: root/bard-elisp/bard-calendar.el
diff options
context:
space:
mode:
Diffstat (limited to 'bard-elisp/bard-calendar.el')
-rw-r--r--bard-elisp/bard-calendar.el6
1 files changed, 5 insertions, 1 deletions
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