linutil/core/tabs/utils/services/i3lock-on-lid-close.service

15 lines
193 B
SYSTEMD
Raw Normal View History

2024-09-16 18:32:05 +01:00
/etc/systemd/system/
[Unit]
Description=i3lock on Lid Close
Before=sleep.target
[Service]
User=
Type=forking
Environment=DISPLAY=:0
ExecStart=/usr/bin/i3lock
[Install]
WantedBy=sleep.target