diff options
| author | 2026-05-22 06:36:49 -0700 | |
|---|---|---|
| committer | 2026-05-22 06:38:28 -0700 | |
| commit | 6d25ebf3c23c5edeb5ee540b5b27904cb690946d (patch) | |
| tree | 9a70febbf00acd1b97b3e406f5f01071cea5b456 /oni-org | |
| parent | 109970f7aecada7cfc8b80664c17d077753e3871 (diff) | |
| download | emacs-config-6d25ebf3c23c5edeb5ee540b5b27904cb690946d.tar.gz emacs-config-6d25ebf3c23c5edeb5ee540b5b27904cb690946d.zip | |
oni-org: Add morning checklist capture template
Diffstat (limited to 'oni-org')
| -rw-r--r-- | oni-org/capture-templates/morning-checklist.org | 12 | ||||
| -rw-r--r-- | oni-org/oni-org.el | 9 |
2 files changed, 19 insertions, 2 deletions
diff --git a/oni-org/capture-templates/morning-checklist.org b/oni-org/capture-templates/morning-checklist.org new file mode 100644 index 0000000..6ac0be8 --- /dev/null +++ b/oni-org/capture-templates/morning-checklist.org @@ -0,0 +1,12 @@ +* NEXT Dishes +:PROPERTIES: +:CREATED: %U +:END: +* NEXT Snacks +:PROPERTIES: +:CREATED: %U +:END: +* NEXT Lunches +:PROPERTIES: +:CREATED: %U +:END: diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index c011558..bb7286b 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2026.0519.025420 +;; Version: 2026.0522.063532 ;; Package-Requires: (oni-yasnippet oni-hydra org org-edna diminish olivetti org-pretty-table) ;; This program is free software; you can redistribute it and/or modify @@ -1072,10 +1072,15 @@ CLOSED: %(setq oni-org--capture-D-date (format-time-string (org-time-stamp-forma '("Chores")) (oni-org--map-put org-capture-templates "cl" - `("Laundry" entry (file "") + `("Laundry" entry (file ,oni-org-todo-main-file) (file ,(expand-file-name "laundry.org" oni-org-capture-template-directory)) :immediate-finish t)) +(oni-org--map-put org-capture-templates "cm" + `("Morning Checklist" entry (file ,oni-org-todo-main-file) + (file ,(expand-file-name "morning-checklist.org" oni-org-capture-template-directory)) + :immediate-finish t)) + (defun oni-org-insert-link (title entry) (interactive (let ((collection (mapcar |
