diff --git a/global/.config/doom/config.el b/global/.config/doom/config.el index 7e4b67e..31af4dd 100644 --- a/global/.config/doom/config.el +++ b/global/.config/doom/config.el @@ -134,6 +134,19 @@ (setq habitica-uid (getenv "HABITICA_UID")) (setq habitica-token (getenv "HABITICA_TOKEN")) +(use-package! org-super-links + :bind (("C-c s s" . org-super-links-link) + ("C-c s l" . org-super-links-store-link) + ("C-c s C-l" . org-super-links-insert-link))) + +(map! :leader + :desc "life" "e l" #'(lambda () (interactive) (find-file "~/org/life.org")) + :desc "braindump" "e d" #'(lambda () (interactive) (find-file "~/org/braindump.org")) + :desc "inbox" "e i" #'(lambda () (interactive) (find-file "~/org/inbox.org")) + :desc "articles" "e a" #'(lambda () (interactive) (find-file "~/org/articles.org")) + :desc "notes" "e n" #'(lambda () (interactive) (find-file "~/org/notes.org"))) + + (setq org-capture-templates '( ("p" "Private" @@ -145,57 +158,54 @@ entry (file+headline "~/org/inbox.org" "Inbox") "* [%<%Y-%m-%d>] %? \n:PROPERTIES:\n:ID: %(org-id-new)\n:END:\n" - :empty-lines 1) + :empty-lines 0) + ("n" "Note" + entry + (file+headline "~/org/notes.org" "2025") + "* %? \n:PROPERTIES:\n:ID: %(org-id-new)\n:DATE: %U\n:END:\n" + :empty-lines 0) ("j" "Journal Entry" entry (file+datetree "~/org/journal.org") "* Event: %?\n\n %i\n\n From: %a" :empty-lines 1) - ("r" "Grocery list" - entry (file+headline "~/org/grocery.org" "Grocery list") - "* NEED2BUY [#C] %?\n:PROPERTIES:\n:Created: %T\n:END:\n " - :empty-lines 0) - ("g" "Todo" entry (file+headline "~/org/inbox.org" "Todo") "* TODO [#C] %?\n:PROPERTIES:\n:Created: %T\n:END:\n " :empty-lines 0) ("m" "Meeting" - entry (file+datetree "~/org/life.org" "Areas" "Meetings") - "* TODO [#A] %? :meeting:%^g \n:PROPERTIES:\n:Created: %T\n:END:\n** Notes\n**" + entry (file+olp+datetree "~/org/life.org" "Areas" "Meetings") + "* TODO [#A] %? :meeting:%^g\nSCHEDULED: %^T\n:PROPERTIES:\n:Created: %T\n:END:\n" :tree-type week - :clock-in t - :clock-resume t :empty-lines 0) ("w" "Selected web capture" entry (file+headline "~/org/inbox.org" "Selected web capture") "* [%<%Y-%m-%d>] [[%:link][%(transform-square-brackets-to-round-ones \"%:description\")]] \n:PROPERTIES:\n:ID: %(org-id-new)\n:END:\n Source: %:link\n #+BEGIN_QUOTE\n%i\n#+END_QUOTE\n%?" - :empty-lines 1) + :empty-lines 0) ("L" "Unselected web capture" entry (file+headline "~/org/inbox.org" "Web links") "* [%<%Y-%m-%d>] [[%:link][%(transform-square-brackets-to-round-ones \"%:description\")]] %? \n:PROPERTIES:\n:ID: %(org-id-new)\n:END:\n" - :empty-lines 1))) + :empty-lines 0))) (setq org-todo-keywords - '((sequence "TODO(t)" "NEED2BUY(n)" "PLANNING(p)" "IN-PROGRESS(i@/!)" "VERIFYING(v!)" "BLOCKED(b@)" "|" "DONE(d!)" "CANCELED(c@/!)" ) + '((sequence "TODO(t)" "STRT(i@/!)" "HOLD(b@)" "CRIT(q@)" "|" "DONE(d!)" "CNCL(c@/!)" ) )) (setq org-todo-keyword-faces '( ("TODO" . (:foreground "GoldenRod" :weight bold)) - ("PLANNING" . (:foreground "DeepPink" :weight bold)) - ("IN-PROGRESS" . (:foreground "Cyan" :weight bold)) - ("VERIFYING" . (:foreground "DarkOrange" :weight bold)) - ("BLOCKED" . (:foreground "Red" :weight bold)) + ("STRT" . (:foreground "Cyan" :weight bold)) + ("HOLD" . (:foreground "Red" :weight bold)) ("DONE" . (:foreground "LimeGreen" :weight bold)) - ("NEED2BUY" . (:foreground "Red" :weight bold)) + ("CRIT" . (:foreground "DarkRed" :weight bold)) + ("CNCL" . (:foreground "DimGray" :weight bold)) )) diff --git a/global/.config/doom/init.el b/global/.config/doom/init.el index 0049eb8..eb82ead 100644 --- a/global/.config/doom/init.el +++ b/global/.config/doom/init.el @@ -102,7 +102,7 @@ magit ; a git porcelain for Emacs ;;make ; run make tasks from Emacs ;;pass ; password manager for nerds - ;;pdf ; pdf enhancements + pdf ; pdf enhancements ;;prodigy ; FIXME managing external services & code builders ;;terraform ; infrastructure as code ;;tmux ; an API for interacting with tmux diff --git a/global/.config/doom/packages.el b/global/.config/doom/packages.el index 72d4441..a38b024 100644 --- a/global/.config/doom/packages.el +++ b/global/.config/doom/packages.el @@ -53,3 +53,5 @@ (package! anki-editor :recipe (:host github :repo "anki-editor/anki-editor")) (package! habitica) +(package! org-super-links + :recipe (:host github :repo "toshism/org-super-links")) diff --git a/linux/.config/i3/autostart.sh b/linux/.config/i3/autostart.sh index c2f05b6..8edeb0a 100755 --- a/linux/.config/i3/autostart.sh +++ b/linux/.config/i3/autostart.sh @@ -74,6 +74,9 @@ workrave & # activitywatch ./activitywatch/aw-qt & +# watchdog +watchmedo shell-command --pattern='*.org;*.txt;*.md;*.gpg' --recursive --ignore-directories -W --command "~/org/sync.sh" ~/org/ & + # lockscreen # xss-lock --transfer-sleep-lock -- ~/scripts/bin/lock.sh