aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2025-04-04 11:20:11 -0400
committerBardofSprites <[email protected]>2025-04-04 11:20:11 -0400
commit49a3ce51b13b09804166e021dc8ce8cbaa2e3dbc (patch)
tree0805e8e7478563bc26df69249ff916f2bd343cc7 /bard-emacs-modules
parent23e351d112a2e5990129acdf318c7d6767b45bf8 (diff)
auto clock in when starting task
Diffstat (limited to 'bard-emacs-modules')
-rw-r--r--bard-emacs-modules/bard-emacs-calendar.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/bard-emacs-modules/bard-emacs-calendar.el b/bard-emacs-modules/bard-emacs-calendar.el
index ce7a556..bbb7a73 100644
--- a/bard-emacs-modules/bard-emacs-calendar.el
+++ b/bard-emacs-modules/bard-emacs-calendar.el
@@ -14,11 +14,15 @@
;; Org todo keywords - changed to using hl-todo faces fixed by modus/ef themes
(setq org-todo-keywords
- '((sequence "TODO(t)" "EXTRA(e)" "|" "DONE(d)" "KILLED(k)")
+ '((sequence "TODO(t)" "EXTRA(e)" "INPROG(i)" "|" "DONE(d)" "KILLED(k)")
(sequence "MEET(m)" "|" "MET(M)")))
(setq org-todo-keyword-faces
- '(("EXTRA" . (:inherit warning))))
+ '(("EXTRA" . (:inherit warning))
+ ("INPROG" . (:inherit hi-yellow :weight bold))))
+
+;; Automatically clock in
+(add-hook 'org-after-todo-state-change-hook #'bard/auto-clock-in)
;;; Org Agenda