aboutsummaryrefslogtreecommitdiffstats
path: root/dunst
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-03-03 01:14:52 -0800
committerGravatar Tom Willemse2022-03-03 01:15:45 -0800
commit5f6ecb37e44b736e75adf94598cf9a4ead7c8189 (patch)
tree58576d7b2a2417e0a1cc4bb243f32dad606460db /dunst
parent413f5c3f6aee5985d5d57c7451fa623b68d153f2 (diff)
downloadnew-dotfiles-5f6ecb37e44b736e75adf94598cf9a4ead7c8189.tar.gz
new-dotfiles-5f6ecb37e44b736e75adf94598cf9a4ead7c8189.zip
[dunst] Add shepherd service definition for running dunst
Diffstat (limited to 'dunst')
-rw-r--r--dunst/.config/shepherd/init.d/dunst.scm.org16
-rw-r--r--dunst/.gitignore1
2 files changed, 17 insertions, 0 deletions
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