Add sleep-on-lock, finally

This commit is contained in:
2016-08-03 17:12:13 +01:00
parent a1a4ffcc5f
commit 13017938ec
@@ -0,0 +1,10 @@
[Unit]
Description=Lock X session using i3lock
[Service]
User=%i
Environment=DISPLAY=:0
ExecStart=sh -c '~/.config/i3/lock.sh'
[Install]
WantedBy=sleep.target