# The lock screen (module screen-lock, novox/hq ADR 0208): the session locks after 30 minutes idle, # the displays go to standby and suspend then and off after an hour, and xss-lock runs the locker on # idle, before suspend and on logind's Lock. xss-lock needs this login session, so it starts here and # not as a unit. It is started again if it exits, for as long as this session lasts ($$ is the # session's own process, which becomes the window manager). xset s 1800 1800 xset dpms 1800 1800 3600 (while kill -0 $$ 2>/dev/null; do xss-lock --transfer-sleep-lock -- "$HOME/.local/bin/screen-lock"; sleep 2; done) &