summaryrefslogtreecommitdiff
path: root/etc/systemd/system/autolock@.service
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/system/autolock@.service')
-rw-r--r--etc/systemd/system/autolock@.service13
1 files changed, 0 insertions, 13 deletions
diff --git a/etc/systemd/system/autolock@.service b/etc/systemd/system/autolock@.service
deleted file mode 100644
index 806de0d..0000000
--- a/etc/systemd/system/autolock@.service
+++ /dev/null
@@ -1,13 +0,0 @@
-# Enable with autolock@<username>
-[Unit]
-Description=Lock X session using slock for user %i
-Before=sleep.target
-
-[Service]
-User=%i
-Environment="DISPLAY=:0" "XAUTHORITY=/home/%i/.config/x/authority"
-ExecStartPre=/usr/bin/xset dpms force suspend
-ExecStart=/usr/local/bin/slock
-
-[Install]
-WantedBy=sleep.target