mirror of
https://git.adityakumar.xyz/betterlockscreen-openrc.git
synced 2024-11-09 18:49:45 +00:00
13 lines
235 B
Desktop File
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
|