From 68031dedeba34f1efd39caeab21d939d5592fdb4 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Wed, 16 Feb 2022 10:50:40 -0800 Subject: emacs: org-journal fixups --- .emacs.local.d/config.el | 12 ++++++++---- .emacs.local.d/modes/org-journal.el | 5 +++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.emacs.local.d/config.el b/.emacs.local.d/config.el index cb3d088..ffc641a 100644 --- a/.emacs.local.d/config.el +++ b/.emacs.local.d/config.el @@ -1,4 +1,8 @@ -(setq my-org-agenda-files '("~/org/")) -(setq my-org-journal-dir "~/org/journal/") -(setq my-org-refile-path "~/refile.org") -(setq my-org-roam-directory "~/org/roam/") +(setq + my-org-agenda-files '("~/org/") + my-org-journal-file-type 'yearly + my-org-journal-dir "~/org/journal/" + my-org-journal-file-format "%Y.org" + my-org-journal-time-prefix "* " + my-org-refile-path "~/refile.org" + my-org-roam-directory "~/org/roam/") diff --git a/.emacs.local.d/modes/org-journal.el b/.emacs.local.d/modes/org-journal.el index d298f05..bf24f20 100644 --- a/.emacs.local.d/modes/org-journal.el +++ b/.emacs.local.d/modes/org-journal.el @@ -6,6 +6,7 @@ (setq org-journal-prefix-key "C-c j ") :config (setq org-journal-dir my-org-journal-dir - org-journal-file-format "%Y.org" - org-journal-file-type 'yearly + org-journal-file-type my-org-journal-file-type + org-journal-time-prefix my-org-journal-time-prefix + org-journal-time-format "" org-journal-date-format "%A, %d %B %Y")) -- cgit v1.2.3