Add the suspend service, which will need to be copied on each computer
This commit is contained in:
parent
eabc01d6a8
commit
b54fb3f476
12
.config/i3/suspend@.service
Normal file
12
.config/i3/suspend@.service
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[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
|
Loading…
Reference in New Issue
Block a user