blog-contributions/servers/Arch/i3locker.service
2024-07-25 12:23:36 +02:00

12 lines
206 B
Desktop File

[Unit]
Description=i3locker
[Service]
Type=forking
Environment=DISPLAY=:0
User=nothing
ExecStart=/usr/bin/i3lock -c 000000
[Install]
WantedBy=sleep.target suspend.target
Before=sleep.traget suspend.target