betterlockscreen-openrc/system/betterlockscreen@.service
2019-02-07 08:55:43 +05:30

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