From 3714176feca019a55595ca11e45888fa26b69a20 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 3 Nov 2021 22:04:42 +0100 Subject: [PATCH 1/2] Org capture template for work --- config.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.org b/config.org index c63df68..159fbf5 100644 --- a/config.org +++ b/config.org @@ -1003,6 +1003,8 @@ Define org-capture templates. (setq org-capture-templates '(("t" "Normal task" entry (file "~/org/inbox.org") "* TODO %?\n :PROPERTIES:\n :CREATED: %U\n :END:") + ("w" "Work task" entry (file "~/org/work.inbox.org") + "* TODO %?\n :PROPERTIES:\n :CREATED: %U\n :END:") ("e" "E-Mail needing a reply" entry (file "~/org/emails.org") "* TODO Reply: %a\n :PROPERTIES:\n :CREATED: %U\n :END:" :immediate-finish t) From 69b270cd50676c2a086d5ca9639aefc61cc61c6f Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 3 Nov 2021 22:04:59 +0100 Subject: [PATCH 2/2] Include work todos in org agenda --- config.org | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config.org b/config.org index 159fbf5..3ce0b16 100644 --- a/config.org +++ b/config.org @@ -1078,13 +1078,12 @@ Finally define the org-agenda display using [[https://github.com/alphapapa/org-s (org-super-agenda-groups '((:name "High Priority" :priority "A") (:name "Inbox" :file-path ".*/org/inbox\\.org$") + (:name "[Work] Inbox" :file-path ".*/org/work\\.inbox\\.org$") (:name "Emails" :file-path ".*/org/emails\\.org$") (:name "Next" :todo "NEXT") (:name "Started" :todo "STARTED") - (:name "Bachelor Thesis" :category "BA") + (:name "[Work] Projects" :file-path ".*/org/work\\.projects\\.org$") (:name "Study" :and (:file-path ".*/org/study\\.org$" :not(:scheduled future))) - (:name "Öff-Ref" :tag "@oeffref") - (:name "FIN" :tag "@fin") (:name "Reading" :file-path ".*/org/reading\\.org$") (:name "Projects" :file-path ".*/org/projects\\.org$") (:name "Habits" :habit t :order 100)