migration
This commit is contained in:
14
X11/systemd/root/i3lockscreen@.service
Normal file
14
X11/systemd/root/i3lockscreen@.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Lock screen before suspend
|
||||
Before=sleep.target suspend.target hibernate.target
|
||||
|
||||
[Service]
|
||||
User=%i
|
||||
Type=forking
|
||||
Environment=DISPLAY=:0
|
||||
ExecStart=/bin/bash /home/%i/.local/bin/lock-on-suspend
|
||||
TimeoutSec=10
|
||||
RemainAfterExit=no
|
||||
|
||||
[Install]
|
||||
WantedBy=sleep.target suspend.target hibernate.target
|
||||
Reference in New Issue
Block a user