13 lines
193 B
SYSTEMD
13 lines
193 B
SYSTEMD
|
[Unit]
|
||
|
Description=User suspend actions
|
||
|
Before=sleep.target
|
||
|
|
||
|
[Service]
|
||
|
User=%I
|
||
|
Type=forking
|
||
|
Environment=DISPLAY=:0
|
||
|
ExecStart=/home/adam/.config/i3/lock.sh lock
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=sleep.target
|