diff options
author | 2022-03-03 01:14:52 -0800 | |
---|---|---|
committer | 2022-03-03 01:15:45 -0800 | |
commit | 5f6ecb37e44b736e75adf94598cf9a4ead7c8189 (patch) | |
tree | 58576d7b2a2417e0a1cc4bb243f32dad606460db | |
parent | 413f5c3f6aee5985d5d57c7451fa623b68d153f2 (diff) | |
download | new-dotfiles-5f6ecb37e44b736e75adf94598cf9a4ead7c8189.tar.gz new-dotfiles-5f6ecb37e44b736e75adf94598cf9a4ead7c8189.zip |
[dunst] Add shepherd service definition for running dunst
-rw-r--r-- | GNUmakefile | 2 | ||||
-rw-r--r-- | dunst/.config/shepherd/init.d/dunst.scm.org | 16 | ||||
-rw-r--r-- | dunst/.gitignore | 1 |
3 files changed, 18 insertions, 1 deletions
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 <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 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 |