Skip to content

Clarify omarchy-toggle-bar's on/off help text - #11803

Merged
omarchybot merged 1 commit into
omacom:quattrofrom
stephenlenton:clarify-toggle-bar-help
Oct 11, 2026
Merged

omarchybot merged 1 commit into
omacom:quattrofrom
stephenlenton:clarify-toggle-bar-help

Conversation

@stephenlenton

Copy link
Copy Markdown
Contributor

Summary

  • omarchy-toggle-bar's on/off arguments toggle the literal bar-off flag (so on hides the bar, off shows it), matching the same convention omarchy-hyprland-toggle window-no-gaps uses. This is correct and relied on by omarchy-toggle-fullscreen-desktop.
  • The --help summary didn't say so, which reads as backwards on first glance (filed as omarchy toggle bar on/off is inverted #11801, closed as not-a-bug after confirming the behavior is intentional and depended on elsewhere).
  • Docs-only change: adds a parenthetical to omarchy:summary clarifying the direction. No behavior change.

Test plan

  • ./test/cli — all pass
  • test/shell.d/toggle-test.sh — all pass, including the fullscreen-desktop cases that depend on current behavior
  • omarchy toggle bar --help now reads: "Toggle bar visibility without killing the Omarchy shell (on hides the bar, off shows it)"

🤖 Generated with Claude Code

https://claude.ai/code/session_01YQK8wd7WU8qEVnXVnNmcSW

on hides the bar and off shows it, matching the literal flag name
rather than an inferred "bar visibility on" reading. The behavior is
correct and depended on by omarchy-toggle-fullscreen-desktop; this
just makes the --help summary say so.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YQK8wd7WU8qEVnXVnNmcSW
@omarchybot omarchybot added the documentation Improvements or additions to documentation label Sep 27, 2026
@omarchybot omarchybot added verified Omarchy Triage has verified that this issue is ready for final review ready Good to merge labels Oct 1, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Reviewed at ccb3c10, nothing to change. The new summary is accurate on quattro: omarchy-toggle-bar passes on/off straight to omarchy-toggle bar-off, which creates the flag on on and removes it on off, and the bar treats the flag's presence as hidden. None of that has changed on quattro since this branch forked.

Checked on a disposable Omarchy VM: ./test/cli, test/shell.d/toggle-test.sh and test/shell.d/bin-style-test.sh pass; omarchy toggle bar --help prints the new line; and on the live desktop omarchy-toggle-bar on moved the bar off screen (y 0 → -26) and off brought it back. Nothing else in the manual or menu describes on/off for the bar differently.

Second opinion from Codex at medium effort traced the same path and found no defects; it agreed, and its independence from my review is not guaranteed. This now waits on the maintainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ready Good to merge verified Omarchy Triage has verified that this issue is ready for final review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants