|
|
@@ -1,15 +1,14 @@ |
|
|
|
{{ ansible_managed | comment }} |
|
|
|
|
|
|
|
[Unit] |
|
|
|
Description=xss-lock - use external locker as X screen saver |
|
|
|
Documentation=man:xss-lock(1) |
|
|
|
PartOf=graphical-session.target |
|
|
|
Wants=xset.service |
|
|
|
After=xset.service |
|
|
|
|
|
|
|
[Service] |
|
|
|
Type=simple |
|
|
|
EnvironmentFile=/home/anarcat/.xsecurelock.env |
|
|
|
# note that when this works, document in #994762 |
|
|
|
ExecStart=/usr/bin/xss-lock --verbose --transfer-sleep-lock --session=${XDG_SESSION_ID} --notifier /usr/libexec/xsecurelock/dimmer -- xsecurelock |
|
|
|
Restart=always |
|
|
|
ExecStart=/usr/bin/xss-lock --verbose --transfer-sleep-lock --session=${XDG_SESSION_ID} -- systemctl --user start lockscreen.service |
|
|
|
|
|
|
|
[Install] |
|
|
|
WantedBy=graphical-session.target |