1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Add sleep-on-lock, finally

This commit is contained in:
Joe Groocock 2016-08-03 17:12:13 +01:00
parent a1a4ffcc5f
commit 13017938ec

View File

@ -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