summaryrefslogtreecommitdiff
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/org-mode.el33
1 files changed, 21 insertions, 12 deletions
diff --git a/emacs/.emacs.d/org-mode.el b/emacs/.emacs.d/org-mode.el
index 14f0da3..2f691ae 100644
--- a/emacs/.emacs.d/org-mode.el
+++ b/emacs/.emacs.d/org-mode.el
@@ -65,16 +65,25 @@
(setq org-agenda-custom-commands
'(("w" "Work Agenda"
- ((agenda "" ((org-agenda-span 1)
- (org-agenda-sorting-strategy '(time-up scheduled-down priority-down deadline-up))
- (org-super-agenda-groups
- '((:name "Waiting" :todo "WAIT" :order 9)
- (:anything t)))))
- (alltodo "" ((org-agenda-overriding-header "")
- (org-agenda-skip-function '(org-agenda-skip-if nil '(scheduled deadline)))
- (org-super-agenda-groups
- '((:todo "TLG")
- (:name "Some day" :anything t))))))
+ ((agenda ""
+ ((org-agenda-span 1)
+ (org-agenda-sorting-strategy '(time-up scheduled-down priority-down deadline-up))
+ (org-super-agenda-groups
+ '((:name "Waiting" :todo "WAIT" :order 9)
+ (:anything t)))))
+ (org-ql-block '(and (tags "@work")
+ (todo "WAIT"))
+ ((org-ql-block-header "Waiting")))
+ (org-ql-block '(and (tags "@work")
+ (todo "TLG"))
+ ((org-ql-block-header "Time Logging")))
+ (org-ql-block '(and (tags "@work")
+ (todo)
+ (not (todo "TLG"))
+ (not (deadline))
+ (not (scheduled)))
+ ((org-ql-block-header "Some Day"))))
+ ((org-agenda-tag-filter-preset '("+@work")))
)))
;; --- CONFIGURATION ---
@@ -100,7 +109,7 @@
org-capture-templates ()
;; Agenda
- org-agenda-files '("~/org/agenda")
+ org-agenda-files '("~/org/tasks/home" "~/org/tasks/work" "~/org/tasks")
org-agenda-overriding-columns-format "%1PRIORITY %DEADLINE %TODO %CLOCKSUM %80ITEM"
org-agenda-dim-blocked-tasks 'invisible
org-agenda-span 7
@@ -111,7 +120,7 @@
org-agenda-start-on-weekday nil
;; Column view
- org-overriding-columns-format "%1PRIORITY %DEADLINE %TODO %CLOCKSUM(CLK) %EFFORT(EST) %TLP %ITEM"
+ org-overriding-columns-format "%1PRIORITY %DEADLINE %TODO %CLOCKSUM_T(CLOCK) %TLP %ITEM"
org-columns-modify-value-for-display-function #'bab/todo-column-display-filter
;; Misc configuration