aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/wayland/.config/systemd/user/physlock.service
diff options
context:
space:
mode:
Diffstat (limited to 'wayland/.config/systemd/user/physlock.service')
-rw-r--r--wayland/.config/systemd/user/physlock.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/wayland/.config/systemd/user/physlock.service b/wayland/.config/systemd/user/physlock.service
new file mode 100644
index 0000000..0a8fed6
--- /dev/null
+++ b/wayland/.config/systemd/user/physlock.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Lightweight linux console locking tool
+OnSuccess=unlock.target
+PartOf=lock.target
+After=lock.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/physlock -dsm
+Restart=on-failure
+RestartSec=0
+
+[Install]
+WantedBy=lock.target