diff --git a/config/dot_config/doom/config.el b/config/dot_config/doom/config.el index ef8499d..ca150d8 100644 --- a/config/dot_config/doom/config.el +++ b/config/dot_config/doom/config.el @@ -4,11 +4,9 @@ (setq user-full-name "Jonathan Jenne" user-mail-address "johnnie@posteo.de") -;; Paths and Filenames -(setq +user-org-path "~/Notes/Org" - +user-org-todo-file "Todo.org" - +user-org-notes-file "Notes.org" - +user-org-journal-file "Journal.org") +;; Org Path +(setq +user-org-path "~/Notes/Org") +(defun org-path (filename) (expand-file-name filename +user-org-path)) ;; Default Shell ;; Useful if default system shell is not bash @@ -34,9 +32,10 @@ org-src-tab-acts-natively t)) ;; Org Capture -(after! org (setq +org-capture-notes-file (expand-file-name +user-org-notes-file +user-org-path) - +org-capture-todo-file (expand-file-name +user-org-todo-file +user-org-path) - +org-capture-journal-file (expand-file-name +user-org-journal-file +user-org-path))) +(after! org (setq +org-capture-notes-file (org-path "Notes.org") + +org-capture-todo-file (org-path "Todo.org") + +org-capture-journal-file (org-path "Journal.org") + +org-capture-travel-journal-file (org-path "Travel.org"))) (after! org (setq org-capture-templates '(("t" "Personal todo" entry