[dunst] Add shepherd service definition for running dunst
This commit is contained in:
parent
413f5c3f6a
commit
5f6ecb37e4
3 changed files with 18 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
16
dunst/.config/shepherd/init.d/dunst.scm.org
Normal file
16
dunst/.config/shepherd/init.d/dunst.scm.org
Normal 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
1
dunst/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.config/shepherd/init.d/*.scm
|
Loading…
Reference in a new issue