diff --git a/GNUmakefile b/GNUmakefile index a355903..9efc393 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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 diff --git a/dunst/.config/shepherd/init.d/dunst.scm.org b/dunst/.config/shepherd/init.d/dunst.scm.org new file mode 100644 index 0000000..9944614 --- /dev/null +++ b/dunst/.config/shepherd/init.d/dunst.scm.org @@ -0,0 +1,16 @@ +Define a service for dunst to start up when I log in. + +#+begin_src scheme + (define dunst + (make + #: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 diff --git a/dunst/.gitignore b/dunst/.gitignore new file mode 100644 index 0000000..396b384 --- /dev/null +++ b/dunst/.gitignore @@ -0,0 +1 @@ +.config/shepherd/init.d/*.scm