Separate wallpaper and lockscreen by host
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
14e80e6bf2
commit
b4b02847dd
13 changed files with 83 additions and 49 deletions
|
@ -1,14 +1,15 @@
|
|||
|
||||
[Unit]
|
||||
Description=User suspend actions
|
||||
Before=suspend.target
|
||||
Description=Lock screen when going to sleep or suspend.
|
||||
Before=sleep.target
|
||||
|
||||
[Service]
|
||||
User=severin
|
||||
Type=forking
|
||||
Type=simple
|
||||
Environment=DISPLAY=:0
|
||||
ExecStart=/home/severin/.local/bin/screenlock
|
||||
ExecStartPost=/usr/bin/sleep 1
|
||||
TimeoutSec=infinity
|
||||
|
||||
[Install]
|
||||
WantedBy=sleep.target
|
||||
WantedBy=sleep.target
|
||||
WantedBy=suspend.target
|
Loading…
Add table
Add a link
Reference in a new issue