From 5f6ecb37e44b736e75adf94598cf9a4ead7c8189 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 3 Mar 2022 01:14:52 -0800 Subject: [dunst] Add shepherd service definition for running dunst --- dunst/.config/shepherd/init.d/dunst.scm.org | 16 ++++++++++++++++ dunst/.gitignore | 1 + 2 files changed, 17 insertions(+) create mode 100644 dunst/.config/shepherd/init.d/dunst.scm.org create mode 100644 dunst/.gitignore (limited to 'dunst') 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 -- cgit v1.2.3-54-g00ecf