|
@@ -1,15 +1,14 @@ |
|
|
|
|
|
{{ ansible_managed | comment }} |
|
|
|
|
|
|
|
|
[Unit] |
|
|
[Unit] |
|
|
Description=xss-lock - use external locker as X screen saver |
|
|
Description=xss-lock - use external locker as X screen saver |
|
|
Documentation=man:xss-lock(1) |
|
|
Documentation=man:xss-lock(1) |
|
|
PartOf=graphical-session.target |
|
|
PartOf=graphical-session.target |
|
|
Wants=xset.service |
|
|
|
|
|
After=xset.service |
|
|
|
|
|
|
|
|
|
|
|
[Service] |
|
|
[Service] |
|
|
Type=simple |
|
|
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] |
|
|
[Install] |
|
|
WantedBy=graphical-session.target |
|
|
WantedBy=graphical-session.target |