Add the suspend service, which will need to be copied on each computer

This commit is contained in:
Adam Goldsmith 2018-01-10 12:40:04 -05:00
parent eabc01d6a8
commit b54fb3f476
1 changed files with 12 additions and 0 deletions

View 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