[dunst] Add shepherd service definition for running dunst

This commit is contained in:
Tom Willemse 2022-03-03 01:14:52 -08:00
parent 413f5c3f6a
commit 5f6ecb37e4
3 changed files with 18 additions and 1 deletions

View file

@ -84,7 +84,7 @@ mowedline-clean:
## Dunst
dunst: dunst/.config/dunst/dunstrc
dunst: dunst/.config/dunst/dunstrc dunst/.config/shepherd/init.d/dunst.scm
## X11

View file

@ -0,0 +1,16 @@
Define a service for dunst to start up when I log in.
#+begin_src scheme
(define dunst
(make <service>
#:provides '(dunst)
#:docstring "Notification daemon"
#:start (make-forkexec-constructor
'("dunst")
#:log-file (string-append (getenv "HOME") "/.logs/dunst.log"))
#:stop (make-kill-destructor)))
(register-services dunst)
(start dunst)
#+end_src

1
dunst/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.config/shepherd/init.d/*.scm