Skip to content

Menu: entries that install from the AUR show only where yay is - #290

Open
jannyg wants to merge 2 commits into
OrchardLinux:mainfrom
jannyg:browser-aur-needs-yay
Open

jannyg wants to merge 2 commits into
OrchardLinux:mainfrom
jannyg:browser-aur-needs-yay

Conversation

@jannyg

@jannyg jannyg commented Dec 4, 2026

Copy link
Copy Markdown

Disclaimer: This is not my primary field. The change has been mostly vibe coded (with Claude) and tested only on my own device, an iPad Air 2 Cellular (j82).

Fixes #286

What was wrong

Menu → Install → Browser → Brave stopped at once with omarchy-pkg-aur-add: line 7: yay: command not found. Every menu entry whose command installs or lists from the AUR runs yay, which Omarchy A doesn't ship.

The change

omarchy-menu.jsonc: these entries get "when":"omarchy-cmd-present yay", like Web App and TUI with gum (#277):

Entry Command at the pin Needs yay through
Install → Browser → Brave omarchy-install-browser brave omarchy-pkg-aur-add brave-bin
Install → Browser → Brave Origin omarchy-install-browser brave-origin omarchy-pkg-aur-add brave-origin-bin
Install → Browser → Zen omarchy-install-browser zen omarchy-pkg-aur-add zen-browser-bin
Install → Browser → Edge omarchy-install-browser edge omarchy-pkg-aur-add (already x86 only; now omarchy-hw-x86 && omarchy-cmd-present yay)
Install → AUR omarchy-pkg-aur-install yay -Slqa
Install → Editor → Emacs omarchy-install-editor-emacs omarchy-pkg-aur-add omarchy-emacs
Remove → Package omarchy-pkg-remove yay -Qqe

Chromium and Firefox come from pacman's repositories and stay. tests/test_menu_yay.py checks the conditions, that the repository browsers stay, and that none of our own commands runs yay.

Together with OrchardLinux/packages' yay PR (omarchy-a depends on yay on aarch64), the entries show on 64-bit tablets and stay hidden on ARMv7, where there is no yay.

Tested

On the iPad Air 2 (j82) with the new menu file: Install → Browser lists Chromium, Chrome and Firefox; Brave, Brave Origin and Zen are gone. (Chromium installed from that entry's command earlier; see #278/#279's PR.)

With yay installed from [omarchy], omarchy-install-browser brave installs brave-bin and Brave runs. Not tested: the other AUR entries. Chrome (omarchy-pkg-add google-chrome) is left as it is; I haven't checked whether the omarchy repository has it for aarch64.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SLbz23ZoimaemGQ2yfdfhR

jannyg and others added 2 commits December 4, 2026 13:00
omarchy-pkg-aur-add, omarchy-pkg-aur-install and omarchy-pkg-remove run
yay, which the image doesn't ship, so Install > Browser > Brave stopped
on "yay: command not found". Brave, Brave Origin, Zen, Edge (x86 too),
Install > AUR, Install > Editor > Emacs and Remove > Package now show
once yay is installed. Chromium and Firefox come from pacman and stay.

Tested on an iPad Air 2 (j82): Install > Browser lists Chromium, Chrome
and Firefox.

Fixes OrchardLinux#286

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SLbz23ZoimaemGQ2yfdfhR
@jannyg
jannyg marked this pull request as ready for review December 4, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Install → Browser: Brave, Brave Origin and Zen fail, yay is not installed

1 participant