Omarchy

The Next Omarchy Wakes the Screen and Fingerprint Reader When You Open a Plugged-In Laptop

Leave a comment

Here’s a small fix that’ll make plugged-in laptop users happy. Omarchy Central reports that DHH merged a PR on Dec. 1 so that opening your laptop lid wakes the display and the lock screen.

The cause was a deliberate setting. On external power, Omarchy sets HandleLidSwitchExternalPower=ignore, so logind doesn’t suspend when you close the lid. With no external monitor, Omarchy locks the session instead. On battery, closing the lid still suspends. The missing piece was the way back: opening the lid only ran the clamshell monitor script, which didn’t turn the panel back on outside docked mode and never woke the lock service. You’d get a dark screen and a fingerprint reader that wasn’t listening until you hit a key.

A new omarchy-system-lid-open script handles the standard lid switch, Apple Silicon’s SMC switch and the ChromeOS EC switch on Chromebooks. If the session is locked, it lights the panel, resumes fingerprint auth and re-arms the blank timer. If not, it falls back to omarchy-system-wake. It also ignores lid events Hyprland replays while the lid is still shut, and on non-ACPI laptops it re-checks after 100 ms because logind can lag behind.

My take

The edge-case handling is the good part: replayed events, laggy logind, and the post-resume blank window. The PR lists six test commands, but Omarchy Central notes it doesn’t mention testing on a physical laptop, so give it a real open-and-close test when it lands. If you want to see what your own laptop does on lid close, my logind how-to in this batch walks through it.

God Bless, and Happy hacking!

References & Further Reading

Subscribe (RSS) Follow Omarchy via RSS

Leave a note

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.