xautolock-systemd/xautolock@.service

12 lines
170 B
SYSTEMD
Raw Normal View History

2017-02-07 15:06:49 +00:00
[Unit]
Description=Lock screen before suspend
Before=sleep.target
[Service]
User=%I
Type=simple
ExecStart=/usr/bin/xautolock -locknow
[Install]
WantedBy=suspend.target