13 lines
425 B
SYSTEMD
13 lines
425 B
SYSTEMD
[Unit]
|
|
Description=Graphical session is idle
|
|
# Pull in the idle hint sync service
|
|
Wants=logind-idlehint.service
|
|
Requisite=graphical-session.target
|
|
After=screenlock.service
|
|
# Ensure that when the screen unlocks, the session is also no longer considered idle.
|
|
StopPropagatedFrom=screenlock.service
|
|
|
|
[Install]
|
|
# If "enabled", the graphical session will be considered idle while the screen is locked.
|
|
WantedBy=screenlock.service
|