diff options
Diffstat (limited to 'doom.d')
-rw-r--r-- | doom.d/config.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doom.d/config.el b/doom.d/config.el index 2d1e1d4..2fa7748 100644 --- a/doom.d/config.el +++ b/doom.d/config.el @@ -80,11 +80,9 @@ matt@matthewlemon.com") ;; org-roam (use-package org-roam :custom + (org-roam-dailies-directory "daily/") (org-roam-directory "~/org-roam") - :config - (setq org-roam-dailies-directory "daily/") - (org-roam-db-autosync-mode) - (setq org-roam-capture-templates + (org-roam-capture-templates '(("d" "default" plain "%?" :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n") @@ -93,10 +91,12 @@ matt@matthewlemon.com") "%?" :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org.gpg" "#+title: ${title}\n") :unnarrowed t))) - (setq org-roam-dailies-capture-templates + (org-roam-dailies-capture-templates '(("d" "default" entry "* %<%T>: %?" :target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n") - :unnarrowed t)))) + :unnarrowed t))) + :config + (org-roam-db-autosync-mode)) ;; Basic agenda stuff |