From c60b1f8b1930dec4db03e4ce4b51dcef149a0660 Mon Sep 17 00:00:00 2001 From: Random936 Date: Tue, 10 Oct 2023 14:24:24 -0700 Subject: [PATCH] Added daily todos template to emacs config --- .emacs.d/capture-templates/daily.org | 21 +++++++++++++++++++++ .emacs.d/config.org | 5 +++++ 2 files changed, 26 insertions(+) create mode 100644 .emacs.d/capture-templates/daily.org diff --git a/.emacs.d/capture-templates/daily.org b/.emacs.d/capture-templates/daily.org new file mode 100644 index 0000000..c04dfc0 --- /dev/null +++ b/.emacs.d/capture-templates/daily.org @@ -0,0 +1,21 @@ +* Daily Todos + +** Habits + +- [ ] Shave +- [ ] Shower +- [ ] Brush Teeth + +** Tasks + +*High Priority* + +- [ ] %? + +*Medium Priority* + +- [ ] + +*Low Priority* + +- [ ] diff --git a/.emacs.d/config.org b/.emacs.d/config.org index 85d5cec..511d12c 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -709,6 +709,11 @@ Org-roam is a plain-text knowledge management system. It brings some of Roam's m (file "~/.emacs.d/capture-templates/Todo.org") :target (file+head "todo/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n") :unnarrowed t))) + (setq org-roam-dailies-capture-templates + '(("d" "default" plain + (file "~/.emacs.d/capture-templates/daily.org") + :target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n") + :unnarrowed t))) (setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag))) (jm/org-roam-refresh-agenda-list) (org-roam-db-autosync-mode))