Add display-buffer rule for Calendar

Always show in side-window at bottom of screen
This commit is contained in:
Evie Litherland-Smith 2024-06-27 09:18:45 +01:00
parent d5f6421e44
commit 5176056672

13
init.el
View file

@ -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