15 lines
229 B
Desktop File
15 lines
229 B
Desktop File
[Unit]
|
|
Description=User suspend actions
|
|
Before=sleep.target
|
|
|
|
[Service]
|
|
User=%I
|
|
Type=forking
|
|
Environment=DISPLAY=:0
|
|
ExecStartPre=
|
|
ExecStart=$HOME/.scripts/i3lock.py
|
|
ExecStartPost=/usr/bin/sleep 1
|
|
|
|
[Install]
|
|
WantedBy=sleep.target
|