aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-08-04 00:52:55 -0400
committertdro <tdro@users.noreply.github.com>2020-08-04 00:52:55 -0400
commit7da2fe38fec4000f67eb7c655cfbcc6fc61397cb (patch)
treea833ab2a919ac11fc294a4fc3db0b65bd57f22dc /.config/systemd
parent9794074a08f8413f94cc5d42a8762e1732492a0d (diff)
downloaddotfiles-7da2fe38fec4000f67eb7c655cfbcc6fc61397cb.tar.gz
dotfiles-7da2fe38fec4000f67eb7c655cfbcc6fc61397cb.tar.bz2
dotfiles-7da2fe38fec4000f67eb7c655cfbcc6fc61397cb.zip
.config/systemd/user/xbindkeys: Dump env
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/xbindkeys.service6
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/systemd/user/xbindkeys.service b/.config/systemd/user/xbindkeys.service
index 83d0813..7e0be9f 100644
--- a/.config/systemd/user/xbindkeys.service
+++ b/.config/systemd/user/xbindkeys.service
@@ -3,11 +3,13 @@ Description=Keyboard shortcut binder
[Service]
Type=simple
-ExecStart=/usr/bin/env xbindkeys -f %h/.config/xbindkeysrc -p -n
-Restart=always
RestartSec=5s
+Restart=always
KillMode=process
SyslogIdentifier=xbindkeys
+EnvironmentFile=-%h/.cache/environment
+ExecStart=/usr/bin/env xbindkeys -f %h/.config/xbindkeysrc -p -n
+ExecStartPre=/usr/bin/env bash -l -c 'env > %h/.cache/environment'
[Install]
WantedBy=default.target