diff --git a/config.org b/config.org index a0d6969..26f8d29 100644 --- a/config.org +++ b/config.org @@ -210,7 +210,14 @@ For [[https://github.com/bastibe/org-journal][org-journal]] I want weekly entrie #+BEGIN_SRC emacs-lisp (after! org-journal - (setq org-journal-file-type 'weekly)) + (setq org-journal-date-format "%A (%d/%m/%Y)") + (setq org-journal-file-type 'weekly) + (setq org-journal-file-format "%Y-%m-%d.org") + + ;; see `org-journal-dir-and-format->regex' documentation + (setq org-journal-file-pattern (org-journal-dir-and-format->regex + org-journal-dir org-journal-file-format)) + (add-to-list 'auto-mode-alist (cons org-journal-file-pattern 'org-journal-mode))) #+END_SRC ** Doom specific