December 2, 2026

Opening your laptop lid will wake the display and lock screen in the next Omarchy

0

A merged fix by DHH ends the dark screen and paused fingerprint reader you could get when reopening a plugged-in laptop.

The Omarchy pixel-art wordmark in grey on a black background, with the tagline Beautiful, fun and agentic Linux by DHH

Image: Omarchy (omarchy.org)

Close a plugged-in laptop running Omarchy, open it again, and you could be left staring at a dark screen until you pressed a key. That’s fixed in the next version: opening the lid will light the panel and, if the machine is locked, get the fingerprint reader listening again.

DHH opened PR #21163 on December 1, 2026 and merged it a few hours later into the quattro branch. The problem comes from a deliberate choice: on external power, Omarchy sets HandleLidSwitchExternalPower=ignore, so logind doesn’t suspend the machine when the lid closes. With no external display attached, Omarchy locks the session instead, unless Passwordless Login is on. On battery, closing the lid suspends as before.

According to the PR, the missing piece was the way back. Opening the lid only ran omarchy-hyprland-monitor-clamshell, which doesn’t turn the panel back on outside docked clamshell mode and never woke the lock service. The screen stayed dark and fingerprint authentication stayed paused.

A new script, omarchy-system-lid-open, now handles all three lid-open events Omarchy listens for: the standard lid switch, Apple Silicon’s SMC switch, and the one used by ChromeOS EC laptops such as Chromebooks. It calls a new lock wake command in the shell: when the session is locked, that lights the panel, resumes fingerprint authentication and re-arms the timer that blanks the screen. If the session is unlocked or the shell doesn’t answer, the script falls back to omarchy-system-wake.

The script also guards against false alarms. Hyprland can replay a lid event while the lid is still shut, and in that case the panel stays off. On non-ACPI laptops, logind can briefly lag behind Hyprland and still report a closed lid, so the script checks again after 100 ms before believing it.

Opening the lid right after a suspend gets its own care: the PR preserves the 15-second blank window used on resume, along with the grace period for the fingerprint reader. The PR extends the lid and lock service tests to cover these cases, and its testing section lists six test commands and doesn’t mention a run on a physical laptop. If yours spends its days plugged in, this is a good one to check once it ships.

Source: https://github.com/omacom/omarchy/pull/21163

Leave a Reply

Your email address will not be published. Required fields are marked *