blog-contributions/servers/Arch/i3locker.service

12 lines
206 B
SYSTEMD
Raw Normal View History

2024-07-25 12:23:36 +02:00
[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