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

13 lines
175 B
SYSTEMD
Raw Normal View History

2018-10-12 22:44:28 +02:00
[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