From fe50b03468e65510cf62fc8f30142eaabc290805 Mon Sep 17 00:00:00 2001 From: Correl Date: Fri, 28 May 2021 21:11:58 -0400 Subject: [PATCH] [emacs] Host local roam documents --- .doom.d/config.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.doom.d/config.org b/.doom.d/config.org index 0b7255a..3c76f5b 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -1509,6 +1509,14 @@ Manage background services :cwd (expand-file-name "~/Public/org") :tags '(work autostart) :kill-signal 'sigkill)) + (when (f-exists? (expand-file-name "~/Public/roam")) + (prodigy-define-service + :name "Org Roam Documents" + :command "python" + :args '("-m" "http.server" "3002") + :cwd (expand-file-name "~/Public/roam") + :tags '(personal autostart) + :kill-signal 'sigkill)) (mapcar #'prodigy-start-service (-concat (prodigy-services-tagged-with 'autostart))))