mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-23 05:35:20 +00:00
15 lines
193 B
Desktop File
15 lines
193 B
Desktop File
/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
|