From 0f529d9a5341e60721b804052c017218839215e1 Mon Sep 17 00:00:00 2001 From: Jonathan Leech-Pepin Date: Thu, 14 Aug 2025 17:35:30 -0400 Subject: [PATCH] Update org-roam for writing --- duskwm/bin/test-dusk.sh | 2 +- emacs/.config/emacs/post-init.el | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/duskwm/bin/test-dusk.sh b/duskwm/bin/test-dusk.sh index 6b7bdb7..40d3f00 100755 --- a/duskwm/bin/test-dusk.sh +++ b/duskwm/bin/test-dusk.sh @@ -4,7 +4,7 @@ Xephyr :1 -ac -dpi 107 -fullscreen -resizeable & # -dpi 180 -screen 1920x1080 & DISPLAY=:1 tym --daemon & sleep 1 DISPLAY=:1 xrdb -load $HOME/.Xresources -DISPLAY=:1 ~/sources/duskwm/dusk/dusk & +DISPLAY=:1 dusk & # sleep 1 # DISPLAY=:1 duskc run_command xrdb diff --git a/emacs/.config/emacs/post-init.el b/emacs/.config/emacs/post-init.el index 99d6b81..d201b4f 100644 --- a/emacs/.config/emacs/post-init.el +++ b/emacs/.config/emacs/post-init.el @@ -524,6 +524,12 @@ are defining or executing a macro." (dashboard-setup-startup-hook) (run-with-idle-timer 5 nil #'my/delay-dashboard)) +;; ** Time-stamp +(use-package time-stamp + :ensure nil + :init + (add-hook 'write-file-functions 'time-stamp)) + ;; * Buffer/Window Management ;; ** Ibuffer / Buffer list (use-package ibuffer @@ -1197,6 +1203,28 @@ methods the save hook cannot detect, like file synchronization." ("TITLE" . (:foreground ,(doom-color 'magenta) :weight bold :inverse-video t)) ("POSTED" . (:foreground ,(doom-color 'base5) :background ,(doom-color 'base0) :weight bold)) + ;; Writing faces + + ("SORT" . (:foreground ,(doom-color 'yellow) :background ,(doom-color 'red) + :weight bold :inverse-video t)) + ("FRAG" . (:foreground ,(doom-color 'base4) :background ,(doom-color 'teal) + :weight bold :inverse-video t)) + ("CHAP" . (:foreground ,(doom-color 'base4) :background ,(doom-color 'orange) + :weight bold :inverse-video t)) + ("SCENE" . (:foreground ,(doom-color 'base4) :background ,(doom-color 'cyan) + :weight bold :inverse-video t)) + ("QUOTE" . (:foreground ,(doom-color 'base4) :background ,(doom-color 'orange) + :weight bold :inverse-video t)) + ("DROP" . (:foreground ,(doom-color 'base4) :background ,(doom-color 'red) + :weight bold :inverse-video t)) + ("PLOT" . (:foreground ,(doom-color 'base0) :background ,(doom-color 'blue) + :weight bold :inverse-video t)) + ("EVENT" . (:foreground ,(doom-color 'base0) :background ,(doom-color 'red) + :weight bold :inverse-video t)) + ("NOTE" . (:foreground ,(doom-color 'base0) :background ,(doom-color 'yellow) + :weight bold :inverse-video t)) + ("WROTE" . (:foreground ,(doom-color 'base0) :background ,(doom-color 'green) + :weight bold :inverse-video t)) ) org-todo-keyword-faces org-modern-todo-faces )