diff --git a/bin/omarchy b/bin/omarchy index a01fa794f9a7..17823269dbe5 100755 --- a/bin/omarchy +++ b/bin/omarchy @@ -40,7 +40,6 @@ GROUP_DESCRIPTIONS[brightness]="Display and keyboard brightness" GROUP_DESCRIPTIONS[camera]="Webcam relay and image tuning" GROUP_DESCRIPTIONS[capture]="Screenshots and screen recording" GROUP_DESCRIPTIONS[channel]="Omarchy release channel management" -GROUP_DESCRIPTIONS[clipboard]="Clipboard helpers" GROUP_DESCRIPTIONS[cmd]="Command and shortcut helpers" GROUP_DESCRIPTIONS[config]="System configuration helpers" GROUP_DESCRIPTIONS[crash]="Crash notification controls" @@ -63,7 +62,6 @@ GROUP_DESCRIPTIONS[hw]="Hardware detection" GROUP_DESCRIPTIONS[hyprland]="Hyprland window, monitor, and toggle controls" GROUP_DESCRIPTIONS[icons]="App icon set management" GROUP_DESCRIPTIONS[install]="Optional software installers" -GROUP_DESCRIPTIONS[installed]="Installed optional service checks" GROUP_DESCRIPTIONS[launch]="Application launchers" GROUP_DESCRIPTIONS[kernel]="Default boot kernel selection" GROUP_DESCRIPTIONS[language]="Display language and system locale" diff --git a/test/cli b/test/cli index 9685cba9a1e0..eb7b17dd7ac1 100755 --- a/test/cli +++ b/test/cli @@ -234,16 +234,15 @@ if [[ $output == *"omarchy update perform"* ]]; then fi pass "hidden update perform compatibility wrapper is not shown" -# These three are install-time plumbing the ISO and install leaves call, so -# they stay out of the listing a user browses -- while still routing, because -# those callers use the CLI. A GROUP_DESCRIPTIONS entry would put the group -# back in the top-level listing even with every command in it hidden, which is -# why apply has none. +# Hidden-only groups stay out of the listing a user browses, while their +# commands still route for callers that use them directly. output=$(timeout 5 "$CLI") -if [[ $output == *"apply"* ]]; then - fail "a group whose commands are all hidden stays out of the top-level listing" -fi -pass "a group whose commands are all hidden stays out of the top-level listing" +for group in apply clipboard installed; do + if grep -Eq "^ $group[[:space:]]" <<<"$output"; then + fail "hidden-only group $group stays out of the top-level listing" + fi +done +pass "hidden-only groups stay out of the top-level listing" for internal in omarchy-apply-system omarchy-apply-hardware omarchy-apply-lock; do if jq -e --arg binary "$internal" '.commands[] | select(.binary == $binary)' "$commands_json_file" >/dev/null; then