diff options
author | noa@gaiwan.org | 2024-07-14 22:47:35 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-07-14 22:47:35 +0000 |
commit | 95eaeb775c3a9cbafb6f27147eecb68bc201c0c8 (patch) | |
tree | 3b0b083f71c15d61ef8f0af6b7a95bd745ac1562 | |
parent | bdb0afebdb1c7d657c85ba748a26ae1a0dc537c3 (diff) |
Always show calendar in a wide window
-rw-r--r-- | config.org | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config.org b/config.org index 4e05b66..8a77071 100644 --- a/config.org +++ b/config.org @@ -276,6 +276,27 @@ Update the calendar. We want weeks to start on a monday, the first day of the w calendar-date-style 'iso) #+end_src +Ensure the calendar always displays at the bottom of the screen, rather than wrapping weirdly and looking bad when it shows up in a side window. + +#+begin_src elisp + (add-to-list 'display-buffer-alist + '("\\*Calendar\\*" + (display-buffer-in-side-window) + (side . bottom))) +#+end_src + +The default for this is eight, and i hoped that by setting it to nine there would never be a jump when there were extra weeks in a month and the calendar took up an extra line. It doesn't seem to have worked out that way, though. + +#+begin_src elisp + (setopt calendar-minimum-window-height 9) +#+end_src + +Don't add anything to the mode line. + +#+begin_src elisp + (setopt calendar-mode-line-format nil) +#+end_src + *** Monospace font fallback This is my own version of fixed-pitch, which has some changes to it. No hooks are added by default. Updating the whitelist automatically applies the hooks. And there is no functionality for changing the cursor type. |