From cde3c82d2f0323d917ab036fe7e2f2ab1d4337a1 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Thu, 15 Sep 2022 15:06:04 -0400 Subject: [PATCH] activate org-super-agenda and tune personal agenda accordingly --- org/config-org-agendas.el | 48 ++++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/org/config-org-agendas.el b/org/config-org-agendas.el index b72b604..a9ab113 100644 --- a/org/config-org-agendas.el +++ b/org/config-org-agendas.el @@ -66,8 +66,7 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; org-super-agenda -(require 'org-super-agenda) -(setq org-super-agenda-mode 1) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Set some org agendas/dashboards @@ -89,22 +88,38 @@ "~/org/_todo.org" )) +(require 'org-super-agenda) +(org-super-agenda-mode) + +(setq org-super-agenda-groups + '( + (:name "Therapy" + :and (:habit t + :tag "therapy")) + (:name "Houdini" + :and (:habit t + :tag "houdini")) + (:name "House" + :and (:habit t + :tag "house")) + (:name "Personal" + :and (:habit t + :tag "personal")) + (:name "Misc" :habit t) + (:name "Therapy" + :and (:todo ("WIP" "READY") + :tag "therapy")) + (:name "Personal" + :todo ("WIP" "READY")) + (:name "To Do" :priority>= "C") + (:name "Low Priority" :priority< "C"))) + (setq org-agenda-custom-commands '( - ("k" "Testing org-super-agenda" - ( - (agenda "" ( - (org-agenda-overriding-header "Agenda") - )) - (alltodo "" ( - (org-agenda-overriding-header "To Do") - )) - ) - ) ("r" "Personal" ( (agenda "" ( - (org-agenda-overriding-header "Personal") + (org-agenda-overriding-header "Scheduled") )) (agenda "" ( (org-agenda-overriding-header "Habits") @@ -117,11 +132,8 @@ (todo "READY" ( (org-agenda-overriding-header "Ready") )) - (tags-todo "+PRIORITY<\"D\"-TODO=\"WIP\"-TODO=\"READY\"" ( - (org-agenda-overriding-header "To Do") - )) - (tags-todo "+PRIORITY>=\"D\"-TODO=\"WIP\"-TODO=\"READY\"" ( - (org-agenda-overriding-header "Low Priority") + (tags-todo "-TODO=\"WIP\"-TODO=\"READY\"" ( + (org-agenda-overriding-header "") )) ) )