20250103.1735924258

This commit is contained in:
fz0x1 2025-01-03 18:10:58 +01:00
parent 64309677b7
commit 0412ac3626
4 changed files with 34 additions and 19 deletions

View file

@ -134,6 +134,19 @@
(setq habitica-uid (getenv "HABITICA_UID")) (setq habitica-uid (getenv "HABITICA_UID"))
(setq habitica-token (getenv "HABITICA_TOKEN")) (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 (setq org-capture-templates
'( '(
("p" "Private" ("p" "Private"
@ -145,57 +158,54 @@
entry entry
(file+headline "~/org/inbox.org" "Inbox") (file+headline "~/org/inbox.org" "Inbox")
"* [%<%Y-%m-%d>] %? \n:PROPERTIES:\n:ID: %(org-id-new)\n:END:\n" "* [%<%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" ("j" "Journal Entry"
entry (file+datetree "~/org/journal.org") entry (file+datetree "~/org/journal.org")
"* Event: %?\n\n %i\n\n From: %a" "* Event: %?\n\n %i\n\n From: %a"
:empty-lines 1) :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" ("g" "Todo"
entry (file+headline "~/org/inbox.org" "Todo") entry (file+headline "~/org/inbox.org" "Todo")
"* TODO [#C] %?\n:PROPERTIES:\n:Created: %T\n:END:\n " "* TODO [#C] %?\n:PROPERTIES:\n:Created: %T\n:END:\n "
:empty-lines 0) :empty-lines 0)
("m" "Meeting" ("m" "Meeting"
entry (file+datetree "~/org/life.org" "Areas" "Meetings") entry (file+olp+datetree "~/org/life.org" "Areas" "Meetings")
"* TODO [#A] %? :meeting:%^g \n:PROPERTIES:\n:Created: %T\n:END:\n** Notes\n**" "* TODO [#A] %? :meeting:%^g\nSCHEDULED: %^T\n:PROPERTIES:\n:Created: %T\n:END:\n"
:tree-type week :tree-type week
:clock-in t
:clock-resume t
:empty-lines 0) :empty-lines 0)
("w" "Selected web capture" ("w" "Selected web capture"
entry entry
(file+headline "~/org/inbox.org" "Selected web capture") (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%?" "* [%<%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" ("L" "Unselected web capture"
entry entry
(file+headline "~/org/inbox.org" "Web links") (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" "* [%<%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 (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 (setq org-todo-keyword-faces
'( '(
("TODO" . (:foreground "GoldenRod" :weight bold)) ("TODO" . (:foreground "GoldenRod" :weight bold))
("PLANNING" . (:foreground "DeepPink" :weight bold)) ("STRT" . (:foreground "Cyan" :weight bold))
("IN-PROGRESS" . (:foreground "Cyan" :weight bold)) ("HOLD" . (:foreground "Red" :weight bold))
("VERIFYING" . (:foreground "DarkOrange" :weight bold))
("BLOCKED" . (:foreground "Red" :weight bold))
("DONE" . (:foreground "LimeGreen" :weight bold)) ("DONE" . (:foreground "LimeGreen" :weight bold))
("NEED2BUY" . (:foreground "Red" :weight bold)) ("CRIT" . (:foreground "DarkRed" :weight bold))
("CNCL" . (:foreground "DimGray" :weight bold))
)) ))

View file

@ -102,7 +102,7 @@
magit ; a git porcelain for Emacs magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs ;;make ; run make tasks from Emacs
;;pass ; password manager for nerds ;;pass ; password manager for nerds
;;pdf ; pdf enhancements pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders ;;prodigy ; FIXME managing external services & code builders
;;terraform ; infrastructure as code ;;terraform ; infrastructure as code
;;tmux ; an API for interacting with tmux ;;tmux ; an API for interacting with tmux

View file

@ -53,3 +53,5 @@
(package! anki-editor (package! anki-editor
:recipe (:host github :repo "anki-editor/anki-editor")) :recipe (:host github :repo "anki-editor/anki-editor"))
(package! habitica) (package! habitica)
(package! org-super-links
:recipe (:host github :repo "toshism/org-super-links"))

View file

@ -74,6 +74,9 @@ workrave &
# activitywatch # activitywatch
./activitywatch/aw-qt & ./activitywatch/aw-qt &
# watchdog
watchmedo shell-command --pattern='*.org;*.txt;*.md;*.gpg' --recursive --ignore-directories -W --command "~/org/sync.sh" ~/org/ &
# lockscreen # lockscreen
# xss-lock --transfer-sleep-lock -- ~/scripts/bin/lock.sh # xss-lock --transfer-sleep-lock -- ~/scripts/bin/lock.sh