betterlockscreen-openrc/betterlockscreen@.service
Pavan Jadhaw 6d00aaa094
Update: betterlockscreen systemd unit file
* Different approach to systemd-suspend lockscreen

* Update README.md

* Update systemd unit file
2018-09-18 03:33:59 +00:00

13 lines
235 B
Desktop File

[Unit]
Description = Lock screen when going to sleep/suspend
[Service]
User=%I
Type=simple
Environment=DISPLAY=:0
ExecStart=/usr/bin/betterlockscreen --lock
TimeoutSec=infinity
[Install]
WantedBy=sleep.target
WantedBy=suspend.target