Skip to content

Sync upstream quattro through 79174f40 - #147

Merged
mark-groves merged 23 commits into
quattrofrom
cursor/upstream-changes-pr-7917
Dec 6, 2026
Merged

mark-groves merged 23 commits into
quattrofrom
cursor/upstream-changes-pr-7917

Conversation

@cursor

@cursor cursor Bot commented Dec 5, 2026

Copy link
Copy Markdown

What changes

Upstream quattro moved from 9ea58b85a (omacom#21711, already on this fork as #146) to 79174f40f (omacom#21965). Twenty-three first-parent commits, all replayed. No merge commits. Nothing skipped. Nine of them are catalog translations.

Two conflicts.

The manual rewrite (omacom#21698) deleted manual/17-ai.md, manual/30-updates.md, and manual/37-hardware-authentication.md after this fork had edited them. Those chapters moved to manual/32-ai.md, manual/47-updates.md, and manual/38-hardware-authentication.md. The fork wording moved with them: Cursor stays on its official tarball, a lapsed Claude access token stays paused until the CLI renews it, Grok Bot and the Cursor products still update from their official feeds, an AUR package is still held when its maintainer changes, and Face authentication stays in the hardware chapter.

Update re-authentication (omacom#21879) conflicted in docs/update-process.md and test/shell.d/update-hook-security-test.sh. The keepalive now warns, notifies, and asks again when sudo authorization disappears mid-update. Grok Bot and Cursor still run after AUR, under that same authorization, and a failed AUR authorization still continues through them to the boot check.

Five of the other seven overlap paths match a clean three-way: AGENTS.md, bin/omarchy-update, default/i18n/en/cli.json, docs/omarchy-shell.md, and test/cli. Fork delta vs 79174f40f is 255 paths. The set matches quattro vs 9ea58b85a, except the three English chapters above took their new numbers. On the 245 paths upstream did not touch, nothing differs. Face, Grok Bot, and the Cursor agent stay. The editor menus say Grok Build. shownProviders stays. linux and linux-headers stay beside amdsmi, rocminfo, and rocm-smi-lib. The translation-sync workflow stays absent. cursor-agent stays out of the mise tool list. Power profiles still write through busctl. The Cursor tarball wording stays. A lapsed Claude access token stays paused until the CLI renews it. Hype and Monologue stay off the default dock. This fork does not theme /usr/bin/cursor.

Verification

Passed: test/cli (157; ImageMagick warned that the omarchy font is not installed here while drawing a fallback background, and the check still passed), media-test.sh (5), migrate-scope-test.sh (12), notifications-test.sh (4), platform-packages-test.sh (12), plugin-add-test.sh (10), resync-time-dispatcher-test.sh (8), setup-security-secure-boot-test.sh (15), system-login-test.sh (20), tiny-test.sh (11), update-hook-security-test.sh (15), theme-set-retint-order-test.sh (11).

No Wayland compositor, so the rewritten manual, the media skip OSD, Tiny's idle blanking, and the update notification were not drawn.

Screenshots

No visible change captured: this run has no Wayland compositor, so the rewritten manual, the media skip OSD, Tiny's idle blanking, and the update notification were not drawn.

Open in Web View Automation 

sergihrs and others added 23 commits December 5, 2026 23:06
* Resync the clock when a network connection comes up

systemd-timesyncd hears about network changes only from systemd-networkd,
which Omarchy replaces with NetworkManager. A clock that is wrong after a
resume therefore stays wrong until timesyncd's next poll, up to 34 minutes.
A NetworkManager dispatcher script now restarts timesyncd when a connection
with a gateway comes up, at most once every 10 seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xw2A9hyKHpb6tu5g2WVZTv

* Treat a 0.0.0.0 gateway as no gateway in the clock resync hook

NetworkManager's dispatcher sets IP4_GATEWAY and IP6_GATEWAY to 0.0.0.0 for a connection that has addresses but no gateway, so the non-empty check let every bridge and dummy link restart timesyncd and take the 10-second window from the connection that can actually reach a time server. The negative tests shared one call log and one stamp across cases, so a restart from one hid the next; each now starts clean and asserts on its own, with the 0.0.0.0 and :: values NetworkManager really passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Codex Medium <noreply@openai.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Codex Medium <noreply@openai.com>
Co-authored-by: Emir Beganović <beganovic.emir@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
A script installing a bar widget where it belongs had to add it without
enabling, poll plugin list until the shell found it, then call enable
with --section: plugin add skipped its own placement prompt under --yes
and offered no flag for it. plugin add now takes enable's placement flags
(--section, --index, --before, --after). One implies --enable and is
checked before anything is cloned, so a typo refuses cleanly instead of
leaving a disabled plugin behind.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
)

Migrations 1793685083 and 1796247972 replace nvidia-open-dkms with
prebuilt NVIDIA module packages even when a user carries a local patch
in /usr/src/nvidia-* and Secure Boot lockdown is disabled. On a
Microsoft Surface Studio 2+ carrying a boot-framebuffer console-offset
patch in nvidia-open-dkms, omarchy update dropped the patch and left the
display glitching after reboot.

Before swapping nvidia-open-dkms, check /sys/kernel/security/lockdown
and pacman -Qkk nvidia-open-dkms. When lockdown is not enforcing
integrity or confidentiality and nvidia-open-dkms has locally altered
files, skip the swap and leave the working patched driver in place.
Stock unmodified installs and systems under Secure Boot lockdown still
migrate to prebuilt modules as before.
…1781)

Co-authored-by: David Heinemeier Hansson <david@hey.com>
…st (omacom#21698)

* Rewrite the manual for readers, fill its gaps, and put installing first

Break up the walls of text, open each chapter with what the thing is, explain
the jargon, and take out developer and migration notes. Add the sections the
manual lacked: captive portals, work Wi-Fi and static IPs, other VPNs, sound
and Bluetooth, screen sharing, backups, network shares, default apps, Flatpak
and AppImages, Tiny, rollcall, the SSH agent, hybrid graphics and
accessibility. Bring in current screenshots, redact personal data in two, and
give every image real alt text.

Renumber the chapters so installing comes first and help comes last. Chapter
slugs are unchanged, so every published URL stays the same.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CY6YBntRernTQjxqPbqpJc

* Correct manual setup and recovery instructions

Direct enterprise Wi-Fi readers to their institution's verified profile, hide hidden-network passphrases, and explain that automatic IP addressing keeps the DNS override. Show the Apple Silicon install path before the USB steps. Keep external backup copies when files are deleted locally, and describe the available diagnostics, lockout recovery, and secure erase steps.

Co-Authored-By: Codex High <noreply@openai.com>
Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>

* Keep the complete diagnostic workflow in troubleshooting

The interactive command includes the kernel log and offers an upload link for support. Explain how readers can get and share that link, and make the effects of omitted certificate verification and WireGuard autoconnect explicit.

Co-Authored-By: Codex High <noreply@openai.com>
Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>

* Restore the manual's screenshots

The merge reset manual/images along with the translations.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CY6YBmJYRKpwSyEFjcX4YL

* Keep the bootloader screenshot while translations catch up

All 49 localized Updates chapters still load the old bootloader image from the shared manual images directory. Keep the exact base image while the translation sync replaces those chapters.

Co-Authored-By: Codex High <noreply@openai.com>

* Say what factory reset and removing a package leave behind

Factory reset is not a secure erase on an encrypted drive either, and
removing a package keeps your own settings for it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CY6YBmJYRKpwSyEFjcX4YL

* Point to the Omarchy menu instead of config files

Where the menu sets something or opens the right file, the manual names the
menu entry and leaves the path out: keybindings, input, night light, the
default workspace layout, window gaps, monitor scale, and backgrounds. Web
apps fall back to Chromium after Chrome.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CY6YBmJYRKpwSyEFjcX4YL

* Clarify legacy dictation bindings and package removal

Name the bindings that readers should remove from Keybindings and which one takes over the agents panel shortcut. Scope recursive package removal to dependencies that were installed automatically.

Co-Authored-By: Codex High <noreply@openai.com>
Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Codex High <noreply@openai.com>
Co-authored-by: Mark Groves <mark-groves@users.noreply.github.com>
…ip OSD (omacom#21832)

Chrome has one MPRIS player for all its tabs. While Spotify stops mid-skip,
it reports a paused YouTube tab's title, which the OSD took for the next track.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…omacom#21837)

* Follow the player through quick skips in a row for the media skip OSD

A skip pressed while an earlier one is still landing reads the player
mid-skip, so it keeps the earlier one's snapshot, and the OSD keeps
following the player after showing a track to land on the last one.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Wait on the player's own changes for the media skip OSD

Replaces the 120ms poll with the player's title, artist and playing
signals, and ends a waiting skip on any other action so a pause cannot
leave it waiting on a player to play.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Finish settling media skip updates that arrive before expiry

The follow window could clear a pending update while the settle timer was still running. Let that check finish and stop accepting new settle events once the window expires. Clear pending skip feedback on a source change so an update from the old player cannot cover the new source's OSD.

Co-Authored-By: Codex High <noreply@openai.com>

* Simplify the media skip OSD to one check on the shown message

Tracks the message the OSD last showed instead of a separate track
signature, folds scheduling into its one caller, and checks for a landed
track before a waiting skip expires.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Let the final media metadata burst finish settling

The expiry check can run after the next title arrives and before its playing state arrives. Keep the pending skip until the in-flight settle timer reads both fields. Stop starting new settles at expiry so the follow window stays bounded.

Co-Authored-By: Codex High <noreply@openai.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Codex High <noreply@openai.com>
)

* Make the Dropbox and Tailscale removal commands executable

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Check that every command in bin is executable

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Delete 1Password's local data when removing it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep 1Password's data when its uninstall fails

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
)

* Turn a laptop's display off after ten idle minutes in Tiny

Tiny runs no shell, and the shell is what turns the display off on idle, so a laptop in Tiny stayed lit until its battery ran out. A one-minute hl.timer in Tiny's Hyprland config counts minutes without a key press or pointer move and turns DPMS off at ten; key_press_enables_dpms already wakes it. It runs only when omarchy-battery-present succeeds, and holds off while a window inhibits idle or Stay Awake is on. No daemon or package is added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>

* Keep the key that wakes Tiny's display from the focused window

Hyprland delivers a key to the focused window before key_press_enables_dpms lights the display, and the modeset that follows stalls the event loop, so on a worker the waking key reached foot and its client-side repeat typed it six times; Enter would run whatever sat in a terminal. Turning the display off now also enters a screen-off submap whose catchall takes that key and resets. It ignores modifiers so Super or Ctrl wake too, and works under a lock screen. The key handler, which runs before keybinds and before the wake, gives the keys back when the display is already lit, so after a pointer wake the next key reaches the window. The catchall also takes switch events, so the lid binds are submap_universal to keep closing the lid working while the display is dark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>

* Ask whether Tiny's machine has a battery at login, not in Hyprland's config

Hyprland evaluates its Lua config on the main thread at login and on every reload, so running omarchy-battery-present through io.popen there made the desktop wait on a command. default/uwsm/default already runs `omarchy-system-tiny take` before the compositor starts; it now also exports OMARCHY_TINY_BATTERY=1 when the machine has a battery of its own, or unsets it so a stale value cannot survive a later login, and tiny.lua reads only the environment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>

* Strip Tiny's screen-off down to the idle timer

The catchall submap that kept the waking key from the focused window needed the lid binds made universal, a handback after pointer wakes and a guard for every kind of input it could eat; that is more machinery than turning a display off deserves. The waking key now reaches the focused window, as it does with Hyprland's stock key_press_enables_dpms. Stay Awake is dropped too. What stays: a one-minute tick that counts minutes without a key or pointer move, holds while a window inhibits idle, turns DPMS off at ten, and starts over when the display is lit again by anything else, such as a touch or a swipe, so it never stays on for good.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>

---------

Co-authored-by: Omabot <david@omarchy.org>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Ship omarchy-boot-secure by default on non-Apple aarch64

Now that omarchy-boot-secure, systemd-boot-omarchy-signed, and
linux-omarchy-efi-signed are published for aarch64 and omarchy-boot-sync
supports aarch64 Type 1 Secure Boot (omacom#21412), include omarchy-boot-secure
in default non-Apple aarch64 package sets (aarch64, aarch64-qualcomm,
aarch64-n1x, and aarch64-gb10).

Keep omarchy-boot-secure excluded on aarch64-apple in omarchy-pkg-defaults
and in the new migration so Apple Silicon Macs (which boot linux-aurora via
omarchy-mac-boot) never pull linux-omarchy-efi-signed or linux-omarchy.

* Clarify Apple Silicon omarchy-boot-secure exclusion comment

* Guard ARM64 Secure Boot wizard before Limine switch and update manual

* Read ACPI IORT via sudo in ARM64 preflight and simplify awk platform check

* Verify matching linux-omarchy-efi-signed kernel version in ARM64 preflight

* Handle missing linux-omarchy safely under pipefail in ARM64 Secure Boot wizard

* Install and import ARM64 signed kernel before switching or checking

* Check ARM hardware before rebuilding for Secure Boot

An installed signed kernel can still be missing from the boot store. Check that the machine is eligible before refreshing its boot images, so a missing TPM stops setup before it changes the store.

Co-Authored-By: Codex High (GPT-6.2 Sol) <noreply@openai.com>

* Open HP OmniBook firmware after Secure Boot enrollment

The Snapdragon X2 OmniBook Ultra can clear newly enrolled keys on a regular reboot while Secure Boot is disabled. Ask it to enter UEFI directly in both the enrollment and pending reboot screens so the user can enable enforcement before starting Omarchy.

Co-Authored-By: Codex High (GPT-6.2 Sol) <noreply@openai.com>
Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>

* Handle HP OmniBook first post-clear key wipe in Secure Boot setup

---------

Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Codex High (GPT-6.2 Sol) <noreply@openai.com>
Co-authored-by: Opus 5.5 High <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Carry over all SDDM autologin configs to greetd

Upgrading from Omarchy 4.5 to 4.6 runs omarchy-system-login --from-sddm
to carry SDDM settings into greetd. It only read
/etc/sddm.conf.d/autologin.conf with a sectionless sed, so users who
configured SDDM autologin in /etc/sddm.conf or another drop-in file
lost autologin after upgrading.

Read [Autologin] User= across /usr/lib/sddm/sddm.conf.d/*,
/etc/sddm.conf.d/*, and /etc/sddm.conf in SDDM ConfigReader order
(lowest to highest precedence), resetting sections per file, stripping
UTF-8 BOMs and # comments, and letting a later empty User= clear an
earlier value. Scope state.conf lookups to [Last].

Add unit tests covering custom drop-ins, /etc/sddm.conf precedence,
section scoping, empty User= overrides, CRLF, UTF-8 BOM, and C-locale
drop-in ordering.

* Match SDDM locale-aware drop-in ordering in --from-sddm

SDDM reads each sddm.conf.d directory with QDir::LocaleAware rather than
C byte order. Under en_US.UTF-8 that sorts autologin.conf before
Z-override.conf so Z-override.conf wins.

Drop export LC_ALL=C from sddm_autologin_user so glob expansion follows
the active locale like SDDM, while keeping LC_ALL=C on awk inside
sddm_ini_value for byte-exact UTF-8 BOM stripping.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
When sudo authorization disappears during omarchy update (for example
after an NTP clock step or when upgrading omarchy-settings revokes
/etc/sudoers.d/99-omarchy-nopasswd-* mid-pacman -Syu with no cached
/run/sudo/ts/ timestamp), the keepalive previously exited silently and
left later steps such as migration 1789747667.sh to fail.

Record keepalive loss in bin/omarchy-update, warn on stderr, send a
critical sticky transient desktop notification, and re-authenticate at
privileged step boundaries (including before omarchy-update-apple-graphics
and omarchy-migrate), keeping optional AUR re-authentication from
blocking boot verification and gating the boot check on update-verify.
Dismiss matching visible, held, or queued alerts in
shell/plugins/notifications/Service.qml once re-authenticated or on exit.

Also guard bin/omarchy-migrate under OMARCHY_UPDATE_LOGGED=1 when
migrations are pending and sudo -n true fails, so 4.5.0 -> 4.6.1 upgrades
finish in one pass while the older bin/omarchy-update stays in memory.

Fixes omacom#20380
Fixes omacom#21803

Co-authored-by: Tech Man Dan <dan.inman@hotmail.co.uk>
Co-authored-by: Mark Groves <mark-groves@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…macom#21965)

hyprctl prints its 'HYPRLAND_INSTANCE_SIGNATURE not set!' error on stdout,
so the animations check fed it to jq and leaked a parse error.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
@mark-groves
mark-groves merged commit b888207 into quattro Dec 6, 2026
9 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.

6 participants