From c16cfe3e48ac9a3f55f9946022f6cae3794a92a5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 17 May 2022 21:58:35 -0700 Subject: Add shepherd and mcron services for some applications --- xbindkeys/.config/shepherd/init.d/xbindkeys.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 xbindkeys/.config/shepherd/init.d/xbindkeys.scm (limited to 'xbindkeys/.config') diff --git a/xbindkeys/.config/shepherd/init.d/xbindkeys.scm b/xbindkeys/.config/shepherd/init.d/xbindkeys.scm new file mode 100644 index 0000000..bd7dfc1 --- /dev/null +++ b/xbindkeys/.config/shepherd/init.d/xbindkeys.scm @@ -0,0 +1,12 @@ +(define xbindkeys + (make + #:provides '(xbindkeys) + #:docstring "Run `xbindkeys'" + #:start (make-forkexec-constructor + '("xbindkeys" "--nodaemon") + #:log-file (string-append (getenv "HOME") "/.logs/xbindkeys.log")) + #:stop (make-kill-destructor))) + +(register-services xbindkeys) + +(start xbindkeys) -- cgit v1.2.3-54-g00ecf