diff options
| author | 2026-05-20 03:10:03 -0700 | |
|---|---|---|
| committer | 2026-05-22 06:38:28 -0700 | |
| commit | 109970f7aecada7cfc8b80664c17d077753e3871 (patch) | |
| tree | 158591f7c6e0ba4fc52c47d8a5c42170128df7e2 | |
| parent | 65f68bccfb3246e75e6d34b77dcdaf02cf13ef06 (diff) | |
| download | emacs-config-109970f7aecada7cfc8b80664c17d077753e3871.tar.gz emacs-config-109970f7aecada7cfc8b80664c17d077753e3871.zip | |
oni-org: Add template for doing laundry
| -rw-r--r-- | oni-org/capture-templates/laundry.org | 19 | ||||
| -rw-r--r-- | oni-org/oni-org.el | 10 |
2 files changed, 28 insertions, 1 deletions
diff --git a/oni-org/capture-templates/laundry.org b/oni-org/capture-templates/laundry.org new file mode 100644 index 0000000..8d0e1eb --- /dev/null +++ b/oni-org/capture-templates/laundry.org @@ -0,0 +1,19 @@ +* NEXT Wash a load of laundry +:PROPERTIES: +:CREATED: %U +:TRIGGER: next-sibling todo!(NEXT) +:END: +* TODO Dry a load of laundry +:PROPERTIES: +:CREATED: %U +:TRIGGER: next-sibling todo!(NEXT) +:END: +* TODO Fold a load of laundry +:PROPERTIES: +:CREATED: %U +:TRIGGER: next-sibling todo!(NEXT) +:END: +* TODO Put away a load of laundry +:PROPERTIES: +:CREATED: %U +:END: diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index bfebb79..c011558 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.0327.005146 +;; Version: 2026.0519.025420 ;; 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 @@ -1068,6 +1068,14 @@ CLOSED: %(setq oni-org--capture-D-date (format-time-string (org-time-stamp-forma (delete-file (buffer-file-name (org-capture-get :buffer)) t) (kill-buffer (org-capture-get :buffer)))))) +(oni-org--map-put org-capture-templates "c" + '("Chores")) + +(oni-org--map-put org-capture-templates "cl" + `("Laundry" entry (file "") + (file ,(expand-file-name "laundry.org" oni-org-capture-template-directory)) + :immediate-finish t)) + (defun oni-org-insert-link (title entry) (interactive (let ((collection (mapcar |
