Skip to content

Refresh the upstream base to Omarchy 4.6.0rc1 - #30

Merged
lbssousa merged 1 commit into
mainfrom
refresh/upstream-4.6.0
Nov 27, 2026
Merged

lbssousa merged 1 commit into
mainfrom
refresh/upstream-4.6.0

Conversation

@lbssousa

Copy link
Copy Markdown
Owner

Stacked on #29 (base migrate-exit-75): 4.6's omarchy-migrate treats exit 75 the way #29 does, so that PR is the migrate part of this refresh. Merge #29 first; this one then retargets to main.

upstream/ held the 4.5.0 files; it now holds those of the v4.6.0-rc1 tag (8 of the 16 changed), and share/upstream.sha256 follows.

What the forks carry

  • Update > Password. In 4.6 it is one entry, omarchy-drive-password --login, which re-keys the system disk and then the login as if the disk had one owner. The block points it at omarchy-mu-user-password (this person's login and their own key slot). In 4.5 update.password is a submenu, so omarchy-mu-menu-sync now leaves out an action override of an entry that is a submenu in the installed Omarchy. Without this, the gates on update.password.user/.drive would silently vanish in 4.6 (menu-sync drops overrides of ids that are gone).
  • New machine-wide entries are admin-only: Remove > Factory Reset, Remove > CLI, Remove > Gaming > Moonlight, Setup > Network > Hostname, System > Snapshots (+ Restore). Remove > Dictation's gate also counts Hex.
  • Fix for 4.5: Setup > Reset Computer (setup.reset) had no gate, so any account could start a factory reset from the menu.
  • Lock screen: Omarchy's lock IdleMonitor, which blanks the lock again after a bound key (volume) lit it. The other three upstream lock changes (settle-once, resume wake) were already in the fork, and the fork's versions are kept.
  • Admin-gate test: with no installed Omarchy it checks against upstream/, so CI now runs it instead of skipping; it accepts gates for entries only the newer snapshot has, and the condition of either release.

Nothing to port

finalize_user (unchanged), the fingerprint PAM lines (moved upstream into omarchy-apply-fingerprint-pam, same logic), omarchy-update (logging and i18n; for administrators omarchy-mu-update still execs it), omarchy-plymouth-set (boot rebuild only).

Worth knowing

  • 4.6's full-screen fingerprint panel enrolls as root through pkexec and runs upstream's omarchy-apply-lock. Only the owner's first-run invitation reaches it, and in 4.5 that invitation already ran the upstream flow; the menu still goes to lbssousa.fingerprint / omarchy-mu-setup-security-fingerprint.
  • 4.6 has no menu entry for data-drive passwords; omarchy-mu-drive-password still works from a terminal.
  • upstream/VERSION is 4.6.0rc1, a guess at the package version: check it against pacman -Q omarchy on the RC channel.
  • Commits after the rc1 tag (e.g. Ask for the password once when switching channel omacom/omarchy#20403 in omarchy-update) are not in the snapshot.

Testing

  • just test (sh, js, shellcheck, qmllint, visudo) in an Arch container as a normal user, as CI does: all green.
  • Admin-gate test against the 4.5 menu, the rc1 menu and no installed menu: passes; a deliberately stale gate is caught.
  • omarchy-mu-menu-sync end to end against both menus: 4.5 keeps the Password submenu, with Reset Computer admin-only; 4.6 gets update.password → omarchy-mu-user-password and the new gates.
  • Not tested live: the lock IdleMonitor (qmllint only); worth a run on a 4.6 machine.

🤖 Generated with Claude Code

upstream/ held 4.5.0; it now holds the v4.6.0-rc1 files, and the forks
carry what changed since:

- Update > Password, one entry in 4.6 (omarchy-drive-password --login),
  changes this person's login and their own key slot with
  omarchy-mu-user-password. menu-sync no longer lets an action override
  turn an Omarchy submenu into an action, so 4.5's submenu stays as it is;
- new machine-wide entries are for administrators: Remove > Factory Reset,
  Remove > CLI, Remove > Gaming > Moonlight, Setup > Network > Hostname and
  System > Snapshots; Remove > Dictation also counts Hex;
- Setup > Reset Computer (4.5) was open to every account: now admin-only;
- the lock screen blanks again after a bound key such as volume lit it
  (Omarchy's lock idle monitor);
- the admin-gate test checks against upstream/ when no Omarchy is
  installed, so CI runs it, and accepts gates for entries only the newer
  snapshot has.

The migrate changes (exit 75) are in #29, which this builds on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lbssousa
lbssousa changed the base branch from migrate-exit-75 to main November 27, 2026 14:11
@lbssousa
lbssousa merged commit 1bc92d0 into main Nov 27, 2026
1 check passed
@lbssousa lbssousa mentioned this pull request Nov 27, 2026
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.

1 participant