summaryrefslogtreecommitdiffstats
path: root/xss-lock/.config/systemd/user/xss-lock.service
diff options
context:
space:
mode:
Diffstat (limited to 'xss-lock/.config/systemd/user/xss-lock.service')
-rw-r--r--xss-lock/.config/systemd/user/xss-lock.service6
1 files changed, 6 insertions, 0 deletions
diff --git a/xss-lock/.config/systemd/user/xss-lock.service b/xss-lock/.config/systemd/user/xss-lock.service
new file mode 100644
index 0000000..8885dfc
--- /dev/null
+++ b/xss-lock/.config/systemd/user/xss-lock.service
@@ -0,0 +1,6 @@
+[Service]
+ExecStart=xss-lock -n /usr/lib/xsecurelock/dimmer -l -- sh -c 'on-lock; env XSECURELOCK_BLANK_TIMEOUT=1 XSECURELOCK_SHOW_DATETIME=1 xsecurelock'
+Restart=always
+
+[Install]
+WantedBy=default.target