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