aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--oni-org/capture-templates/laundry.org19
-rw-r--r--oni-org/oni-org.el10
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