summaryrefslogtreecommitdiffstats
path: root/xss-lock/.config/systemd/user/xss-lock.service
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-23 02:23:15 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-23 02:23:15 -0500
commit8a0e22d68add0ac8f6c488e73c22cf66fb78f12b (patch)
treea7b7dcc8444d7eec8d6fe915267dc97d02f3c113 /xss-lock/.config/systemd/user/xss-lock.service
parent8a101b9fddfa5f1ddaa34aa66c05155a46669f36 (diff)
downloadconf-8a0e22d68add0ac8f6c488e73c22cf66fb78f12b.tar.gz
conf-8a0e22d68add0ac8f6c488e73c22cf66fb78f12b.zip
convert xss-lock to systemd
Diffstat (limited to 'xss-lock/.config/systemd/user/xss-lock.service')
-rw-r--r--xss-lock/.config/systemd/user/xss-lock.service5
1 files changed, 5 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..b98915e
--- /dev/null
+++ b/xss-lock/.config/systemd/user/xss-lock.service
@@ -0,0 +1,5 @@
+[Service]
+ExecStart=xss-lock -n /usr/lib/xsecurelock/dimmer -l -- sh -c 'on-lock; env XSECURELOCK_BLANK_TIMEOUT=1 XSECURELOCK_SHOW_DATETIME=1 xsecurelock'
+
+[Install]
+WantedBy=default.target