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:
parent
a1a4ffcc5f
commit
13017938ec
10
.config/systemd/user/sleep-i3lock@.service
Normal file
10
.config/systemd/user/sleep-i3lock@.service
Normal 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
|
Loading…
Reference in New Issue
Block a user