diff --git a/systemd/lock.service b/systemd/lock.service new file mode 100644 index 0000000..a8767f0 --- /dev/null +++ b/systemd/lock.service @@ -0,0 +1,10 @@ +[Unit] +Description=Lock the screen on resume from suspend + +[Service] +User=marcel +Environment=DISPLAY=:0 +ExecStart=/usr/local/bin/gllock + +[Install] +WantedBy=suspend.target hibernate.target hybrid-sleep.target