dotfiles/dunst/.config/shepherd/init.d/dunst.scm.org

17 lines
415 B
Org Mode
Raw Normal View History

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