aboutsummaryrefslogtreecommitdiffstats
path: root/xbindkeys
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-05-17 21:58:35 -0700
committerGravatar Tom Willemse2022-05-17 21:58:35 -0700
commitc16cfe3e48ac9a3f55f9946022f6cae3794a92a5 (patch)
tree6dfe18a293cc1e33a4946008a7006158b7e2f205 /xbindkeys
parentae24850dd7f016885beeb31f7f3243ecb8d741c0 (diff)
downloadnew-dotfiles-c16cfe3e48ac9a3f55f9946022f6cae3794a92a5.tar.gz
new-dotfiles-c16cfe3e48ac9a3f55f9946022f6cae3794a92a5.zip
Add shepherd and mcron services for some applications
Diffstat (limited to 'xbindkeys')
-rw-r--r--xbindkeys/.config/shepherd/init.d/xbindkeys.scm12
1 files changed, 12 insertions, 0 deletions
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 <service>
+ #: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)