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

415 B

Define a service for dunst to start up when I log in.

  (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)