aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-06-10 23:50:06 -0700
committerGravatar Tom Willemse2026-06-10 23:50:06 -0700
commit9a9091fe875130ce77eb8958556c0383ce415a1b (patch)
tree5cef8e1e55646b2cc4280746c4442dbb3da89486
parentcf2544e082582039ed8f8f89021e534ddbc9a354 (diff)
downloademacs-config-9a9091fe875130ce77eb8958556c0383ce415a1b.tar.gz
emacs-config-9a9091fe875130ce77eb8958556c0383ce415a1b.zip
oni-org: Add section to morning checklist for Mondays
-rw-r--r--oni-org/oni-org.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index 0172865..db32ad7 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.0529.072432
+;; Version: 2026.0609.161332
;; Package-Requires: (oni-hydra org org-edna diminish olivetti org-pretty-table)
;; This program is free software; you can redistribute it and/or modify
@@ -1065,11 +1065,15 @@ CLOSED: %(setq oni-org--capture-D-date (format-time-string (org-time-stamp-forma
"Get the template for my morning checklist."
(let ((template (org-file-contents
(expand-file-name "morning-checklist.org" oni-org-capture-template-directory))))
- (if (= 2 (decoded-time-weekday (decode-time)))
+ (if (= 1 (decoded-time-weekday (decode-time)))
(concat template
(org-file-contents
- (expand-file-name "morning-checklist-trash.org" oni-org-capture-template-directory)))
- template)))
+ (expand-file-name "morning-checklist-bedding.org" oni-org-capture-template-directory)))
+ (if (= 2 (decoded-time-weekday (decode-time)))
+ (concat template
+ (org-file-contents
+ (expand-file-name "morning-checklist-trash.org" oni-org-capture-template-directory)))
+ template))))
(oni-org--map-put org-capture-templates "cm"
`("Morning Checklist" entry (file ,oni-org-todo-main-file)