This repository has been archived on 2020-08-28. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-laptop/roles/gui/files/lock.service
2018-10-12 20:44:28 +00:00

13 lines
175 B
Desktop File

[Unit]
Description=Lock X session
Before=sleep.target
[Service]
User=simon
Type=forking
Environment=DISPLAY=:0
ExecStart=/usr/local/bin/lock
[Install]
WantedBy=sleep.target