Skip to content

Keep a woken lock screen on for 30 seconds - #143

Merged
Xpond merged 1 commit into
mainfrom
lock-wake-grace-30s
Dec 2, 2026
Merged

Xpond merged 1 commit into
mainfrom
lock-wake-grace-30s

Conversation

@Xpond

@Xpond Xpond commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

A keypress that wakes a blanked lock screen now keeps it on for at least 30 s, up from 10 s. Slow external monitors (DisplayPort link training) can take longer than 10 s to show a picture, which left people typing their password blind. Same fix as omarchy#8773.

  • Locking still blanks after 5 s idle; only the post-wake window grows.
  • Typing during the window still can't shorten it; after it ends, the usual 5 s idle applies.
  • Resume from suspend keeps its 60 s.

Testing

  • tests/lock-idle.js checks the 30 s allowance and types slowly through it before checking the 5 s idle.
  • ./tests/all.sh passes.
  • Checked on a real monitor: locked, let it blank, pressed a key without typing, and the screen stayed on for 30 s.

Slow external monitors can take longer than ten seconds to show a picture
after a keypress wakes them, so the lock could blank again before you see it.
The idle blank after locking stays at five seconds.
@Xpond
Xpond force-pushed the lock-wake-grace-30s branch from 1f93a4a to 5b73a59 Compare December 2, 2026 05:59
@Xpond
Xpond merged commit a2e8650 into main Dec 2, 2026
1 of 2 checks passed
@Xpond
Xpond deleted the lock-wake-grace-30s branch December 2, 2026 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant