mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-21 19:18:41 +00:00
[emacs] Host local roam documents
This commit is contained in:
parent
f39f81fde9
commit
fe50b03468
1 changed files with 8 additions and 0 deletions
|
@ -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))))
|
||||
|
|
Loading…
Reference in a new issue