commit 147eb21dcfc04df3ffe27f7d8d8b566d9788fafa
parent 5648a9e1cd20db9950a7d81b009835453a7e0942
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 25 Jan 2024 12:46:04 +0100
tools/emacs: org-mode agenda configuration
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/tools/emacs/config/config-org.el b/tools/emacs/config/config-org.el
@@ -107,12 +107,29 @@
(org-agenda-skip-scheduled-if-deadline-is-shown t)
(org-agenda-skip-timestamp-if-deadline-is-shown t)
(org-agenda-skip-scheduled-if-done nil)
- (org-agenda-category-icon-alist '(
- (".*" '(space . (:width (16))))))
+ (org-agenda-current-time-string "")
+ (org-agenda-time-grid '((daily) () "" ""))
+ ;; ((agenda . " %i %-12:c%?-12t% s")
+ ;; (todo . " %i %-12:c")
+ ;; (tags . " %i %-12:c")
+ ;; (search . " %i %-12:c"))
+ ;; (org-agenda-prefix-format " %i %?-2 t%s")
+ (org-agenda-prefix-format '((agenda . " %i %?-12t% s")
+ (todo . " %i")
+ (tags . " %i")
+ (search . " %i")))
+
+ (org-agenda-category-icon-alist `(("journal" ,(list (propertize "📝")))
+ ("project--" ,(list (propertize "💼" )))
+ ("area--" ,(list (propertize"🏢" )))
+ ("area--home" ,(list (propertize"🏡" )))
+ ("home" ,(list (propertize"🏡" )))
+ (".*" '(space . (:width (16))))))
;; (org-agenda-compact-blocks t)
;; (org-agenda-sticky t)
;; (org-agenda-include-diary t)
:config
+
;; Org Babel configurations
(when (file-exists-p org-babel-library-file)
(org-babel-lob-ingest org-babel-library-file))