aboutsummaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2026-01-06 22:14:29 -0500
committerBardofSprites <[email protected]>2026-01-06 22:14:29 -0500
commiteb3d01a2a9690feb00b2b0a3424f9101bca4864b (patch)
tree7d7404a6fbe9ab6ff44a5f5c5fd7d194833e0913 /config.org
parente4a0853b306c054e5554f866d731020a7a6f5206 (diff)
edit denote-journal template
adding a heading for clock table
Diffstat (limited to 'config.org')
-rw-r--r--config.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.org b/config.org
index 67c3f31..c224bb1 100644
--- a/config.org
+++ b/config.org
@@ -4226,13 +4226,14 @@ This is what the tabs look like with ~doom-gruvbox~ theme:
(global-set-key (kbd "C-c U") #'bard/jump-to-class-new-frame)
#+end_src
-*** Denote journal template
+*** Denote journal
+I want to have a custom format for my daily journal file to start what I want to get done that day specifically. It helps me get focused on what needs to be accomplished on days when I have a lot of tasks.
#+begin_src emacs-lisp :tangle bard-elisp/bard-writing.el :mkdirp yes
(defun bard/denote-todo-template ()
"Return string for daily tasks heading in `denote-journal' entries."
(with-temp-buffer
(org-mode)
- (insert (format "* Tasks for %s\n** Время я потратил бездельничая\n\n* Notes for today\n\n"
+ (insert (format "* Tasks for %s\n** Время я потратил бездельничая\n\n* Notes for today\n\n* Clocktable\n"
(format-time-string "%Y-%m-%d (%a)")))
(let ((org-clock-clocktable-default-properties
'(:scope file :maxlevel 3 :link nil :compact t)))