From c12f2a2c1231beba49e6592ef767432a11d79099 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 24 Jul 2024 17:52:41 +0100 Subject: [PATCH] Fix setting org-roam capture templates --- init.el | 18 +++++++++--------- templates | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/init.el b/init.el index 227302a..e34110a 100644 --- a/init.el +++ b/init.el @@ -530,16 +530,16 @@ (slot . 0) (window-width . 0.33) (window-parameters . ((no-delete-other-windows . t))))) - (org-roam-db-autosync-mode +1)) + (org-roam-db-autosync-mode +1))) - (use-package org-roam-dailies - :after org-roam - :custom - (org-roam-dailies-directory "./") - (org-roam-dailies-capture-templates - '(("d" "default" entry - "* %?" - :target (file+datetree "journal.org.gpg" week)))))) +(use-package org-roam-dailies + :after org-roam + :custom + (org-roam-dailies-directory "./") + (org-roam-dailies-capture-templates + '(("d" "default" entry + "* %?" + :target (file+datetree "journal.org.gpg" week))))) (use-package org-agenda :after (org appt) diff --git a/templates b/templates index a3d7e1e..c2f09a0 100644 --- a/templates +++ b/templates @@ -212,7 +212,7 @@ envrc-file-mode "if [ ! -f $VENV_DIR/bin/python3 ]; then" n > "nix run nixpkgs#python3Full -- -m venv $VENV_DIR" n "fi" n - "source .venv/bin/activate") + "source $VENV_DIR/bin/activate") ;; Local Variables: ;; mode: lisp-data