Tom Willemse
9b7417f6c6
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules. - Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file was generated from a ‘.el’ file that was itself generated from a ‘.org’ file, the ‘.el’ file isn't just an intermediate file and should not be deleted. - Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set up for each module. - Add configuration for ‘outline-minor-mode’ and change the headings to adhere to that configuration. - Stop using the ‘build/’ directory, tangle all the files to the same directory as the source files, and use stow, not cp, to install them. The only exception is the XDG files, which now have their specific ‘xdg-stow’ rule. This is necessary because programs using these files will overwrite a symbolic link they find and replace it with a new file, overwriting my settings. - Add some files that were missing, and rename some files to follow the existing convention to make them easy to tangle.
16 lines
408 B
Org Mode
16 lines
408 B
Org Mode
Define a service for shepherd that starts up Emacs.
|
|
|
|
#+begin_src scheme
|
|
(define emacs
|
|
(make <service>
|
|
#:provides '(emacs)
|
|
#:docstring "Run `emacs --daemon'"
|
|
#:start (make-forkexec-constructor
|
|
'("emacs" "--fg-daemon")
|
|
#:log-file (string-append (getenv "HOME") "/.logs/emacs.log"))
|
|
#:stop (make-kill-destructor)))
|
|
|
|
(register-services emacs)
|
|
|
|
(start emacs)
|
|
#+end_src
|