Repository navigation
Add a presentation mode that stays awake, silences notifications, and hides the bar - #8513
chessing234 wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a presentation toggle that coordinates bar visibility, DND, and idle prevention while preserving prior states.
Changes:
- Adds
omarchy-toggle-presentation. - Adds Presentation to the Toggle menu.
- Adds shell tests for activation and restoration.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
bin/omarchy-toggle-presentation |
Implements presentation state management. |
default/omarchy/omarchy-menu.jsonc |
Adds the Presentation menu entry. |
test/shell.d/presentation-mode-test.sh |
Tests activation and state restoration. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "trigger.share.folder": {"icon":"","label":"Folder","action":"omarchy-menu-share folder"}, | ||
| "trigger.share.receive": {"icon":"","label":"Receive","action":"uwsm-app -- localsend"}, | ||
| "trigger.toggle.idle-lock": {"icon":"","label":"Stay Awake","action":"omarchy-toggle-idle"}, | ||
| "trigger.toggle.presentation": {"icon":"","label":"Presentation","checked":"omarchy-toggle-enabled presentation","action":"omarchy-toggle-presentation"}, |
There was a problem hiding this comment.
added it to the toggle table.
The other Trigger > Toggle commands are documented there; this one was missing from the published list.
|
@dhh @ryanrhughes ready for review |
|
Could the inactive I implemented a fix with regression tests in #12422, in the main Omarchy repository, preserving this PR’s original commits. The focused tests pass; the PR records the full-suite failures and remaining runtime validation. |
|
folded into #12730 with the share QR toggle. |
Fixes #8510.
Stay Awake, notification silencing, and hiding the bar are separate toggles. For a talk you want all three at once, then the previous combination restored.
This adds
omarchy-toggle-presentationon Trigger > Toggle. It records whether the bar was already hidden, DND already on, and stay-awake already set, then restores only what it changed. #8154 is the presentation logo color, not this toggle.Verification
test/shell.d/presentation-mode-test.sh:On/off from a clean home hides the bar, sets DND, and stay-awake, then puts them back. A second case starts with those already on and checks
offleaves them alone.