Add "Sleep Displays" to System menu - #5571
Open
jondkinney wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jondkinney
force-pushed
the
add-sleep-displays-menu-item
branch
from
May 4, 2026 15:33
3c73c22 to
d23422a
Compare
Member
|
What are you using this for? Because even if the displays are off, the hypridle will still lock the machine too? So how does it differ from just locking? |
Contributor
Author
|
@dhh for as long as I can remember (20 years?) I've set the lower right corner of my machine to "sleep displays". It helps the monitors power off more readily when they for sure know no input is coming. So my usual workflow is to turn the displays off before I head up to bed from my home office so the monitor doesn't sense any signal and fully turns off. On macOS it's usually been this
But sometimes I also invoke it via raycast and my 32" LG 6k goes to sleep almost immediately.
So this is that for Omarchy.
|
jondkinney
force-pushed
the
add-sleep-displays-menu-item
branch
from
June 18, 2026 04:55
d23422a to
fa2411f
Compare
Provides a manual equivalent to macOS's "sleep displays" — powers off all monitors via DPMS without locking or suspending the session. Any input wakes the displays. The new omarchy-cmd-sleep-displays helper detaches the dispatch with a short delay so trailing input from closing the launcher (key release, focus change) doesn't immediately wake the displays.
jondkinney
force-pushed
the
add-sleep-displays-menu-item
branch
from
June 30, 2026 16:12
fa2411f to
653003b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
default/omarchy/omarchy-menu.jsonc), between Lock and Suspendbin/omarchy-cmd-sleep-displayspowers off all monitors via DPMS without locking or suspending the session — any input wakes themMotivation
There's no built-in way to manually sleep just the displays — equivalent to macOS's "sleep displays" / Ctrl+Shift+Power.
Lockbrings up the lock screen,Suspendputs the whole machine to sleep. This sits between them: blank the screens, keep everything else running, wake on any input.Notes
Rebased onto
omarchy-4and reworked for the 4.x code path:system.sleep-displays) rather than ashow_system_menucase in the old bashomarchy-menu.hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })', matchingomarchy-brightness-display.Test plan
omarchy-cmd-sleep-displaysworks from a terminal too