[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 [Install] WantedBy=graphical-session.target