Skip to content

Sync upstream quattro through #17640 - #118

Merged
mark-groves merged 12 commits into
quattrofrom
cursor/upstream-changes-pr-ab7a
Nov 7, 2026
Merged

mark-groves merged 12 commits into
quattrofrom
cursor/upstream-changes-pr-ab7a

Conversation

@cursor

@cursor cursor Bot commented Nov 5, 2026

Copy link
Copy Markdown

What changes

Upstream quattro moved four commits past omacom#17618 (181f51dd), which is what #115 merged. All four replayed onto current quattro with no conflicts and no merge commits. Nothing was skipped. Fork delta vs 6194f460 is 229 paths, the same set as quattro vs 181f51dd. Face, Grok Bot, and Cursor stay.

  • Getting started image (Show the F1 installer's finish screen in the getting started guide omacom/omarchy#17627). manual/images/install-done.webp is replaced with the F1 installer's finish screen. Every language's getting-started page already points at that file.
  • Agent and fingerprint invitations wait for a connection, not the first update (Invite agent and fingerprint setup once online, not after the first update omacom/omarchy#17628). Both setups install packages, so they only need a link. First run no longer installs setup-agent.hook and setup-fingerprint.hook as post-update hooks. install/user/first-run/wifi.sh shows the Wi-Fi toast, then waits on nm-online for however long the first connection takes (the old hour cap is gone; it retries a 24-hour wait), then runs those two hooks and the update toast. Each invitation is sent only once, and only when there is something to set up.
  • HP ZBook Ultra G3a fingerprint enrollment (Disable the HP ZBook Ultra G3a's phantom USB port so fingerprint enrollment works omacom/omarchy#17634). Port 5 of the USB2 root hub (1022:1588) is marked unused by the firmware and still reports a connection that never answers. Each retry stalls the hub for 30–45 seconds, so the Elan reader on port 4 cannot open and fprintd-enroll times out before it asks for a touch. A udev rule disables that port when connect_type is not used. Migration 1793849077 reloads udev and triggers the hub so the port goes quiet without a reboot. Other machines are untouched.
  • Apple Silicon color (Map sRGB into each display's gamut on Apple Silicon omacom/omarchy#17640). On Apple Silicon the display controller sends each panel its native gamut and Asahi's driver cannot tag the signal as sRGB, so wide-gamut displays (the Pro Display XDR and any other) look oversaturated. default/hypr/wide-gamut.lua loads before the monitor rules and, only when omarchy-hw-aarch64-apple succeeds, wraps hl.monitor so a rule without cm gets cm = "edid". A cm chosen in monitors.lua still wins, including when the panel's later port-named rules omit it: the choice is kept for that port, for the monitor's description, or for every monitor. A PC signals sRGB and the display maps it, so those rules are unchanged off Apple Silicon. This is a workaround until the Asahi driver handles color.

Verification

  • Cherry-pick of 88aa546e, 19d13be8, fd3475a6, and 6194f460 applied cleanly. git diff --name-only of quattro vs 181f51dd matches HEAD vs upstream quattro (229 paths).
  • bash test/shell.d/first-run-test.sh passed, including "first run invites a default agent once there is a connection". Lines about /usr/share/omarchy/install/user/first-run/setup-*.hook missing are this sandbox having no installed tree; the new assertion runs against the checkout.
  • bash test/shell.d/hyprland-monitor-settings-test.sh passed, including "monitors get EDID color only on Apple Silicon" (EDID on every rule, a rule's own cm kept, a description-wide and an all-monitor choice carried onto later port rules, and no cm off Apple Silicon).
  • Could not drive an Apple Silicon display or an HP ZBook Ultra G3a, so the gamut mapping and the phantom-port rule were not checked on hardware. Topic PRs Drop the Sync translations workflow on the fork #116 and fix(factory-reset): forward gum theme vars as single-line assignments #94 were left alone. No other sync was open.

Screenshots

No visible change: the shell, menus, and themes render the same. The getting-started image is a replaced manual asset, and the gamut mapping only runs on Apple Silicon, which this checkout cannot show.

Open in Web View Automation 

dhh and others added 4 commits November 5, 2026 23:04
…pdate (omacom#17628)

* Invite agent and fingerprint setup once online, not after the first update

Both setups install packages, so they only need a connection. Waiting for
the first update hid the agent invitation on fresh installs until someone
ran one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Wait for the first connection however long it takes

The hour cap meant a machine left offline longer never saw the agent,
fingerprint or update invitations, since first run had already completed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…llment works (omacom#17634)

Port 5 of the laptop's USB2 root hub is marked "not used" by the firmware,
yet reports a connection that never answers. Each retry stalls the hub for
30-45 seconds, so the Elan fingerprint reader on port 4 can't open and
fprintd-enroll times out before asking for a touch. A udev rule disables
the port when the firmware calls it unused, and a migration applies it
without a reboot.

Co-authored-by: Claude Opus 5.5 <[email protected]>
* Map sRGB into the Pro Display XDR's gamut on Apple Silicon

On Apple Silicon the display controller sends the XDR its native P3 and
Asahi's driver can't tag the signal as sRGB, so everything showed
oversaturated. Give every monitor rule for the XDR cm = "edid" there,
including the panel's port-named rules. A PC signals sRGB and the display
maps it itself, so nothing changes off Apple Silicon.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Map every display into its EDID gamut on Apple Silicon, not just the XDR

The display controller never tags any external display as sRGB, so any
wide-gamut one shows oversaturated, and an sRGB display or the built-in
panel (which has no EDID) is unchanged by it. Dropping the XDR matching
leaves a few lines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Keep a cm chosen in monitors.lua when the panel's rules apply

The panel's saved settings load after hypr/monitors.lua as port-named
rules without cm, so the wrapper overrode an explicit choice with edid.
Carry a chosen cm to later rules for that port, the monitor's description,
or every monitor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
@cursor
cursor Bot marked this pull request as ready for review November 5, 2026 23:05
ryanrhughes and others added 8 commits November 6, 2026 23:02
* Fix Hex dictation staying on after push-to-talk release

The adapter read `.desktop.activity.state` from plain `hex status`, which
never matched, so stop assumed Hex was idle and never sent the stop. Always
send `hex dictation stop --print` and treat no speech, Hex not running, or
nothing recording as a quiet success; toggle reads `.capture.recording` from
`hex status --json`. Hex only reports a recording ~150ms after it starts, so
gating stop on status would still miss a quick tap.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Paste Hex transcripts with Shift+Insert instead of typing them

Typing a long transcript through wtype is slow to land. Shift+Insert pastes
the clipboard in terminals and other apps alike, the same way clipboard
history and the emoji picker insert text.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Paste Hex transcripts the way SUPER + V does

Shift+Insert pastes the primary selection in kitty. Superwhisper sends
Ctrl+Shift+V to terminals and Ctrl+V elsewhere, so expose SUPER + V's
universal paste as o.universal_paste and give omarchy-clipboard-paste-text a
--universal mode that dispatches it. Hex now uses that, sharing the terminal
tag check with the key binding.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Report Hex stop failures unless Hex confirms it is idle

A failed stop was treated as success whenever `hex status` also failed,
since an unanswered status read as idle. Only swallow the error after a
status reply shows nothing recording. When mktemp fails, still send the
stop and let Hex's message through instead of failing the redirect.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…om#17840)

* Fix the background intro lifecycle test on CPU-rendered and multi-monitor sessions

Since omacom#17035 a session rendering on the CPU turns Hyprland's animations off,
so the CI VM zeroes every Style.duration and the opening crossfade the
fixture checks never runs. Give the fixtures a hyprctl that reports
animations on, which also keeps them off the live compositor.

The cover check ran a fixed 200 ms after prepareTheme, but decoding and
presenting the cover took 200-300 ms on three high-resolution screens. Wait
for the cover to leave "loading" instead, up to 3 s.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Keep background intro fixtures from racing a fixed launcher or render

The lifecycle fixture now waits up to 3 s for its cover, longer than the
fake launcher's fixed 2 s; the launcher's exit then cleared the cover before
the check. The launcher now waits for the fixture to release it, in the
step after the background is suspended.

The switch fixture checked a fixed 600 ms after a change made during an
intro, before the fake owe render had handed the still over on a busy
machine. That step now waits for the still too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…17389)

* Install the OEM firmware package for each Snapdragon machine

omarchy-pkgs ships the firmware an OEM signs for one board as a package per
machine, each providing qcom-firmware-<folder> for the firmware folders it
fills. qualcomm/oem-firmware.sh installs the package for the folders the
device tree still lacks firmware in, deepest folder first so the folder the
Surfaces share goes to the package the machine's own folder brought in, before
qualcomm/firmware.sh copies the rest from Windows. The packages join the
offline set, and a migration installs them on machines that lack firmware.

* Move Snapdragon machines set up from Windows to their OEM firmware package

The firmware folders now also come from qcom-firmware-extract's manifest of
copies from Windows, so a machine set up from Windows gets its package too,
and the package's retire hook removes the Windows copies it covers. The
migration runs the step on every Snapdragon machine and goes on only when it
installed a package.

* List the OEM firmware packages for 10 more Snapdragon machines

omacom/omarchy-pkgs#2037 now has packages for the Acer Aspire 14 AI,
Aspire 16 AI, Swift 14 AI and Swift Go 14, the ASUS ProArt PZ13,
Vivobook S 14 and Vivobook S 16, the Dell Latitude 5455, and the HP
OmniBook 5 14, 16-bf0 and 16-bf1.

* Keep the OEM firmware migration pending until its setup finishes

Once a package was in, a rerun after a failed firmware setup or boot
image rebuild saw no package change and passed, leaving the DSP held
back or the boot image stale. A marker now records that a package went
in, even when the package step itself fails partway, and the setup and
rebuild run until both finish.

* Install the Vivobook 16's, Surface Pro 9 with 5G's and MateBook E Go's firmware

omacom/omarchy-pkgs#2217 adds asus-vivobook-16-firmware,
microsoft-surface-pro-9-5g-firmware and huawei-matebook-e-go-firmware,
generated like the other OEM firmware packages. List them with the rest,
so the Arm image's offline mirror carries them. The Arm image build fails
on a listed package its mirror lacks, so omacom#2217 has to be published first.

* Leave the OEM firmware packages to the image builder

The Arm image finds every OEM firmware package by the qcom-firmware-<folder>
name it provides (omacom/omarchy-iso#398) and carries all of them in its
offline mirror, the names oem-firmware.sh installs them by. Listing them
here as well meant a change in this repository for every new machine and
broke the x86_64 image build, which has none of them, so the list goes.
…ion (omacom#17925)

* Move Superwhisper's shortcut without a compositor check in the migration

`superwhisper shortcuts set` reloads Hyprland and rolls back on any config
error. A compositor upgraded by the same update is still the old binary, which
rejects keys new to the upgraded config, so the migration failed and stopped
the update.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Simplify the Superwhisper shortcut move

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…7746)

* Reinstall Osaka Jade for anyone left on it with no palette

omarchy-themes-intros still ships themes/osaka-jade/backgrounds/intros, so after Osaka Jade left the bundled themes the 4.5 theme refresh re-staged that leftover directory with no colors.toml, and foot, kitty and alacritty then include a theme file that was never generated. The theme lives on in omacom/omarchy-osaka-jade-theme under the same name, so install it from there, and fall back to Jade Horse when it cannot be fetched.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Install Osaka Jade before the theme refresh rather than after it

Once omarchy-themes-intros stops shipping the leftover osaka-jade directory, 1787481315 sees the theme as gone and applies Tokyo Night, so a migration dated after it never finds anyone on Osaka Jade to restore. Dating it just before means a 4.0 upgrade installs the theme first, and a 4.5 install that already ran the refresh still has it pending.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Keep a user's Osaka Jade overrides when restoring the theme

A ~/.config/omarchy/themes/osaka-jade without a palette holds overrides that were layered on the bundled theme, and omarchy-theme-install removes that directory before it clones. Copy the repo's palette, icons and wallpapers in beside those files instead, never over them, and leave the directory alone when the clone fails.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Codex XHigh <[email protected]>

* Repair from the staged palette, and survive linked backgrounds

Only colors.toml counts as a palette: a partial alacritty.toml override converts to nothing, and the bundled colors.toml was always what such overrides sat on. A user who already restored their own copy is re-applied only when the staged theme has no palette, without fetching anything, which also lets a retry finish after a failed apply. A symlinked backgrounds directory is the user's choice and is left alone instead of aborting the copy.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Codex XHigh <[email protected]>

---------

Co-authored-by: David Heinemeier Hansson <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Codex XHigh <[email protected]>
* Show the HP OmniBook Ultra 14's disk unlock prompt

* Show the disk unlock prompt on every Snapdragon X2 machine

The black unlock prompt comes from Glymur's shared device tree, not the
OmniBook Ultra 14: its display driver resets the panel when it loads
from the initramfs and waits for pmic_glink_altmode to draw again. The
Anduril BlueChip shows the same black prompt. Match the chip through
the device tree's qcom,glymur instead of one model's DMI name, so every
X2 machine gets the USB-C display drivers and the GPU microcode early.
…omacom#17934)

* Refresh the Snapdragon device tree list before every boot image build

DeviceTreeAuto takes literal paths, and dtb-uki.sh wrote them once at
install. A kernel update that adds or renames a tree built a boot image
without it, so a machine whose hardware IDs moved to the new tree booted
with none. Move the list into omarchy-update-qualcomm-device-trees and
let limine run it from /etc/boot/hooks/pre.d before each build. Without
--install it only refreshes Omarchy's own list, leaves the Surface Pro
11's pinned tree alone, and never stops a build.

* Keep the UKI configuration when the device tree list can't be written

The command no longer runs under the installer's errexit, so a failed copy or write went on and could rename a cut-off file over uki.conf. Check every write and discard the copy instead, still exiting 0.

* Record the owed boot image rebuild before the list changes

A migration run that stopped after refreshing the list read the new list as its starting point on retry and skipped the rebuild. Mark the rebuild owed first and take it back when the list stays the same.
…acom#17935)

* Run the runtime smoke test alone, and keep the CI VM's kernel log

The smoke test starts the whole shell and ran in the parallel pool, four files to four vCPUs and 6 GB on llvmpipe. About one run in fifty it failed there: the shell took longer than omarchy-shell's 2 s IPC deadline to enable a plugin, or it died of SIGKILL with nothing in the tests sending one. The runner already keeps files that launch full shells out of the pool, so mark this one exclusive.

A SIGKILL nobody sent is most likely the OOM killer, which the tests cannot see. Save the kernel log as kernel.txt in the artifact and print any OOM kill into the job log, so the next one is read rather than inferred.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Keep systemd-oomd's log beside the kernel's

Omarchy enables systemd-oomd, and its kills are logged by its own unit rather than the kernel, so the OOM search would miss them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Codex XHigh <[email protected]>

---------

Co-authored-by: David Heinemeier Hansson <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Codex XHigh <[email protected]>
@mark-groves
mark-groves merged commit 093ccb7 into quattro Nov 7, 2026
6 checks passed
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.

5 participants