From 517605667252b543c5f36c748d975e2726e58722 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 27 Jun 2024 09:18:45 +0100 Subject: [PATCH] Add display-buffer rule for Calendar Always show in side-window at bottom of screen --- init.el | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index cd5f99c..610085a 100644 --- a/init.el +++ b/init.el @@ -198,7 +198,15 @@ (calendar-mark-holidays-flag t) (calendar-mark-diary-entries-flag nil) (calendar-view-holidays-initially-flag nil) - (calendar-view-diary-initially-flag nil)) + (calendar-view-diary-initially-flag nil) + :config + (add-to-list 'display-buffer-alist + '("\\*Calendar\\*" + (display-buffer-in-side-window) + (side . bottom) + (slot . 0) + (window-height . 0.2) + (window-parameters . ((no-delete-other-windows . t)))))) (use-package appt :custom @@ -532,8 +540,7 @@ (side . right) (slot . 0) (window-width . 0.33) - (window-parameters . ((no-other-window . t) - (no-delete-other-windows . t))))) + (window-parameters . ((no-delete-other-windows . t))))) (org-roam-db-autosync-mode +1)) (use-package org-agenda