13 lines
No EOL
229 B
Desktop File
13 lines
No EOL
229 B
Desktop File
[Unit]
|
|
Description=User suspend actions
|
|
Before=sleep.target
|
|
|
|
[Service]
|
|
User=%Install
|
|
Type-forking
|
|
Environment=DISPLAY=:0
|
|
ExecStartPre=/usr/bin/i3lock -c 202f56
|
|
ExecStart=/usr/bin/systemctl suspend
|
|
|
|
[Install]
|
|
WantedBy=sleep.target |