1
0
mirror of https://gitlab.com/dbrw/ansible-setup.git synced 2026-02-06 18:10:42 +07:00

update user services

This commit is contained in:
dbrw
2022-07-08 16:09:22 +07:00
parent 09279bbacb
commit 5fd615cc54
7 changed files with 95 additions and 30 deletions

View File

@@ -0,0 +1,15 @@
[Unit]
Description=XScreenSaver Utility
Documentation=man:xss-lock(1)
PartOf=graphical-session.target
After=graphical-session.target
Before=xset-xss.service
[Service]
Type=simple
ExecStart=/usr/bin/xss-lock -s ${XDG_SESSION_ID} --ignore-sleep -- systemctl --user --wait start lock.target
Restart=always
RestartSec=2
[Install]
WantedBy=graphical-session.target