Skip to content

Merge upstream quattro (floating dock, faster shell, ARM updates) - #73

Merged
cursor[bot] merged 62 commits into
quattrofrom
cursor/upstream-changes-pr-492b
Oct 14, 2026
Merged

cursor[bot] merged 62 commits into
quattrofrom
cursor/upstream-changes-pr-492b

Conversation

@cursor

@cursor cursor Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Cherry-picks upstream omacom/omarchy quattro onto this fork's quattro (a6cb432d, which includes #72). Upstream moved from 9480d1b6 to 492b8837. 59 commits are applied oldest-first, one fork commit per upstream commit: the 16 from still-open #71, plus 43 new first-parent commits since 4c1b4cb3 (42 non-merge on the first parent, plus the Superwhisper aarch64 commit that arrived through merge omacom#15247). This replaces #71.

Still open from #71 (since 9480d1b6)

USB and Thunderbolt approval is gone (omacom#15091)

The device-approval feature from omacom#11874 is fully reverted. New installs no longer ship USBGuard policy, Bolt authorization, the watchers, or the Setup/Remove > Security rows for USB and Thunderbolt. Migration 1791769486 undoes what a machine that already ran it left behind: it drops the user and system units, restores Bolt device policy and firmware boot allowlists from the saved journal (and retries if a Bolt read fails), puts Bolt's mode back, and removes the USB-at-boot kernel parameter only after the rebuilt boot entries check out. A USBGuard that predates Omarchy shipping it is left installed. A second run is a no-op.

The menu, theme switches, and a few hot paths

New since yesterday (4c1b4cb3)

A dock on floating workspaces (omacom#15263)

Floating workspaces get an app dock, hidden on tiled workspaces and behind a fullscreen window. It reads each workspace's mode through omarchy-hyprland-workspace-layout-current, caches it, and is told to read again by the layout commands. omarchy dock sets position and pins. The grid of every app is omarchy-shell omarchy.dock apps. Minimized windows go to the dock. Trigger > Appearance > Dock sets auto-hide and position. Migration 1791875754 is the setup for existing configs.

Empty workspaces follow a new default layout, and the cycle calls dwindle tiling (omacom#15266). A failed workspace read changes no saved layouts (omacom#15267). A workspace that starts floating gets titlebars immediately, not on the next reload (omacom#15271). The workspaces widget handles the scroll wheel.

Theme switches retint the terminal first (omacom#15189)

Terminals, the TUIs in them, and the Hyprland reload run as soon as the theme is in place, including while an intro plays. Browser policy, editors, agents, GTK, the keyboard, and the theme-set hook follow in the background, logging to theme-set.log and naming failed retints in a notification. A second switch cannot finish before an older batch's browser policy write: batches take a lock, and one whose theme was replaced while it waited skips its retints. The lock is released before theme-set hooks, so a hook that switches the theme does not wait on itself. OMARCHY_THEME_WAIT=1 still waits for everything. Background thumbnail warmup stays after the intro reveal.

Window opacity changes without a notification, and the menu row is named Window Opacity so the label fits. Each theme keeps at most one intro video; the extras are removed and the remaining intros are sharpened (omacom#14567). Tokyo Night leads with the Liftoff wallpaper (omacom#14755).

The shell does less while idle

Bar widgets can live in the tray's drawer (omacom#15281). A widget parked there is treated as present, so Dropbox in the drawer still suppresses its tray icon. Battery time remaining is worked out from the draw shown beside the percentage (omacom#15285). Stay Awake's icon is a mug without a saucer (omacom#15269).

Sessions, updates, and boot

Fork-only lines kept

  • Setup/Remove > Security > Face, and Update > Grok Bot / Cursor, stay. The USB and Thunderbolt rows stay gone with the revert.
  • shell/Commons/qmldir keeps FaceChrome and LockCover next to the new InputDevices singleton. shell/Ui/qmldir keeps FaceChromeCanvas next to SizedImage.
  • shell.qml still assigns FaceChrome.pluginRegistry and still routes authentication services through AuthServiceStore. The dock section in the plugin README sits after the polkit face paragraph.
  • omarchy-theme-set-vscode uses the new per-editor if blocks and still does not theme Cursor. /usr/bin/cursor is the GUI launcher, so set_theme would open extra editor windows on every theme switch.
  • omarchy-powerprofiles-set still writes ActiveProfile through busctl. The menu power-profiles provider stays out.
  • Grok Bot and Cursor still run cold after AUR, each behind the no-update wrapper. Publish the session lock flag after unlock #72's published lock flag stays: unlock writes it from a fresh session read, not a binding that can stick.

Fork delta check

git diff --name-only vs upstream 492b8837 is 158 files, the same set as quattro vs 9480d1b6.

Tests

  • ./test/cli passes, including command metadata for omarchy dock and omarchy system.
  • Menu, dock, floating workspaces, workspace layout, input devices, input indicator, tray, battery status, default agent, VS Code theme, theme-set budget, retint order, tmux theme, Framework 16 keyboard color, update sequence, update status, kernel reboot prompt, device-approval removal, plugin manifest scan, app icon scan, hidden entries, Wi-Fi connected, parallel menu guards, epoch clock, and the lock-flag recovery tests pass.
  • Sized-image, image-picker preview hold, idle shell spawn, and menu-guard budget skip: no Qt test runner, Wayland compositor, or XDG_RUNTIME_DIR in this sandbox. mpv config skips because mpv is not installed. No visual check for the same reason.
Open in Web View Automation 

Note

High Risk
Large surface area: removes USB/Thunderbolt security features, changes session exit and factory reset paths, and alters Hyprland floating workspace behavior plus theme application ordering.

Overview
This merge brings upstream quattro onto the fork: a floating-workspace dock (omarchy dock, Super+M minimize, Super+Alt+Space apps grid, default pins in shell.json), tray bar section for widgets, and Hyprland changes so floating workspaces open centered/floated from the first frame with titlebars without a full reload.

USB and Thunderbolt device approval is removed end-to-end (setup/remove commands, watchers, polkit, provisioning enrollment), with factory-reset logic inlined instead of the old admin tools.

Theme switching retints terminals and Hyprland first, then runs other app retints in the background with a generation token and lock so older batches cannot overwrite a newer theme; OMARCHY_THEME_WAIT=1 still blocks until done. Related speedups cover tmux (source-file), Foot child discovery, VS Code extension detection without spawning editors, and Framework 16 keyboard colors without Python.

CLI and session: omarchy system replaces separate logout/reboot/shutdown (closes windows with optional --wait); the router loads route candidates for faster dispatch; logout|reboot|shutdown shortcuts use the system group.

Performance and polish: cheaper menu guards (hybrid GPU sysfs, touchpad, Wi‑Fi connected check), Fcitx indicator event-driven with limited polling, theme/menu/shell performance test notes in docs, battery time aligned with instantaneous power draw, screen-recording preview during finalize, ARM kernel reboot detection via modules.builtin, mpv hwdec=auto-safe via settings, and post-update indicator clear without re-checking repos.

Reviewed by Cursor Bugbot for commit b493942. Configure here.

ryanrhughes and others added 30 commits October 13, 2026 23:06
* Revert "Merge pull request omacom#11874 from acrogenesis/feature/usb-device-authorization"

This reverts commit 5cb3131, reversing
changes made to 9d48fc4.

* Undo USB and Thunderbolt device approval on machines that ran it

* Verify boot rebuilds, recover Thunderbolt journals and prove USBGuard ownership in the removal migration

* Read the boot partition from ESP_PATH and stop on failed Bolt reads in the removal migration

* Recover Bolt's original mode from the setup journal in the removal migration
* Count hybrid GPUs from sysfs instead of lspci

The menu's Hybrid GPU row runs omarchy-hw-hybrid-gpu on every open, and
lspci took ~70-120ms of that while reading PCI config space, which also
resumes a runtime-suspended dGPU. Read the cached class IDs from sysfs, as
the omarchy-hw-nvidia helpers already do: 2ms.

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

* Ask udev only about input devices Hyprland lists as mice

Without a named touchpad, omarchy-hw-touchpad forked udevadm for every
event device before checking whether Hyprland even had it as a mouse. On a
desktop that is every keyboard, button and switch, on each menu open.
Match the name first and ask udev only about the candidates: 25ms to 11ms
here, with the same answers.

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

* Gate the Wi-Fi QR Code row on a cheap connected-Wi-Fi check

The row ran omarchy-network-status on every menu open only to test for a
wifi prefix, paying ~65ms for the nmcli and iw queries behind the SSID,
signal and frequency it then threw away. omarchy-network-wifi-connected
answers the same question -- wireless default-route device that
NetworkManager has activated -- from sysfs and two busctl calls in ~3ms.

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

---------

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

* Keep the menu's package snapshot until a transaction changes it

Every guard batch rebuilt the installed-package set from pacman -Qq and
-Qi, ~75ms of each menu open, though it only changes when a transaction
does. Store it in $XDG_RUNTIME_DIR stamped with the local database
directory's device, inode and change times, which every install, removal
and upgrade moves, and rebuild on the first batch after they do. A build
that overlapped a transaction or whose queries failed answers its own
batch but is never stored. 75ms to 4ms.

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

* Test that a transaction landing mid-read keeps the package set unstored

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

* Stamp the menu's package set from pacman.conf's DBPath

A DBPath away from /var/lib/pacman left the stamp watching a directory no
transaction touched, so the stored set never went stale. Ask pacman-conf
for the database directory, and cache nothing when it cannot say.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Run the menu's guard readers and guards side by side

What is left of the guard batch is mostly separate programs waiting on
their own process start -- hardware probes, systemctl, xdg-settings, the
screen recorder's status -- run one after another. Start every reader at
once on its own process substitution, before the package set is built,
and deal the guards into eight background subshells. Answers are
unchanged (same 251 lines on the shipped menu); lines arrive in any order,
which the menu's parser never relied on.

~400ms to ~160ms alone; ~195ms to ~55ms with the cheap helpers and cached
package set.

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

* Fail the guard batch when any guard group dies part way

A group killed mid-run (a guard tripping a login shell's set -u) left its
remaining rows unanswered while a bare wait still reported success, so the
menu took the partial answers over its last complete ones. Wait for each
group by pid and fail the batch if any did.

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

---------

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

* Evaluate menu guards once both menu files have loaded at startup

The default and user menu files load separately, and each load evaluated
every guard, so startup ran the whole batch twice, the second queued behind
the first. Wait until both have answered, loaded or missing; an open
before then evaluates on its own as always.

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

* Evaluate held menu guards when the default file fails after the user's

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

---------

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

* Refresh the signing keyrings only when a newer version is out

Every update reinstalled archlinux-keyring, rerunning its pacman-key populate, though new and revoked keys only reach the repositories as a new package version. --needed keeps the refresh and drops the repeat.

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

* Read the keyring test's stderr to EOF before checking it

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Send Hunk's settled palette nudge in the background

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

* Check VS Code-family extension registries instead of starting each editor

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

* Skip the Framework 16 keyboard write when its colour is unchanged

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

* Record the Framework 16 colour only after every keyboard write succeeds

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

* Drop the Framework 16 colour record and keep only the awk conversion

qmk_hid exits 0 when no keyboard answers, so a recorded colour can't be trusted to describe the keyboard; a stale one would skip the write that fixes it.

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

---------

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

* Clear the update indicator after an update instead of rechecking

Once the dev checkout is fast-forwarded and the full -Syu succeeds, there is no Omarchy update left to show. omarchy-update-status still ran omarchy-update-available, which refetched the checkout and had checkupdates sync every database into a temp dir, only to clear the indicator. Clear it directly and retire the helper, whose only caller was the update.

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

* Keep omarchy-update-status for updates started by an older updater

An update already running when this lands parsed its pipeline before the upgrade replaced it, and still calls omarchy-update-status after the packages are in. Keep it as a hidden helper that only clears the indicator, so that update finishes instead of stopping at a missing command.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… variable (omacom#15040)

* Sync the theme into tmux with one source-file instead of a client per variable

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

* Pin the tmux theme test to its own socket

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

* Start the tmux theme test's panes under the scratch home

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

---------

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

* Take the screen recording preview while the recording finalizes

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

* Hold the raw recording open for the preview while finalizing renames over it

Addresses Codex review: a preview ffmpeg that opened its input after the rename read the trimmed file, and missed the frame on a very short recording.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… header (omacom#15041)

* Resolve alias and metadata-moved routes without reading every command header

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

* Match the full load's alias parsing and registration order on the router's fast path

Addresses Codex review: tab-separated aliases were missed, and a C-locale sort could pick a different winner for colliding routes than the locale-sorted full load.

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

* Test that alias dispatch reads only candidate command headers

Addresses Greptile review: the earlier tests passed through the full load too, so losing the fast path would have gone unnoticed.

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

* Skip the unreadable-header router check when running as root

Addresses Greptile review: root reads through chmod 111, so the check failed for a correct router.

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

---------

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

* Read the xkb layout table only when the keyboard widget shows a label

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

* Test the keyboard widget's table loading from a real keyboard reading

Addresses Greptile review: the test set needsBriefs by hand, so losing the reading's flag or the change handler would have passed.

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

---------

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

* Skip the nightlight toggle's wait when hyprsunset is already running

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

* Wait on a hyprsunset that is still starting, not only one the toggle started

Addresses Greptile review: one launched at login and toggled mid-boot could accept the temperature and then apply its boot default over it. The tests now simulate that default instead of only checking for a sleep.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… seconds (omacom#15033)

* Resolve the audio volume sink on Pipewire changes instead of every 15 seconds

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

* Keep the audio volume sink current across in-flight reads and EasyEffects settings changes

Addresses Codex review: a script read still running could overwrite the hardware fast path's answer, and an idle EasyEffects resolves through its settings file, which changes without a graph event.

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

* Test the audio volume sink rerun through the read's exit

Addresses Greptile review: the rerun test only checked the stale flag, so removing the rerun would still pass.

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

---------

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

* Let keyboard panels build their content on first open

KeyboardPanel takes an optional `content` component, loaded the first
time the panel opens and kept afterwards. Panels that declare children
directly keep building them eagerly.

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

* Build bar panel content lazily instead of at startup

Every bar panel built its whole card on every monitor at startup, open or
not. Move each KeyboardPanel's card into its lazy content slot, reach the
few items root-level code needs through panel.loadedContent, and guard
the code that runs while the panel is closed.

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

* Capture the whole network card in the portal preview

The lazy content Loader adds a level between the content and the card.

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

* Exercise keyboard panel open, close and reopen at runtime

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Mount binfmt before registering binary formats

* Allow boot mount bursts without a one-second pause
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ount pin (omacom#15165)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…h check (omacom#15169)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ithout it (omacom#15170)

* Find the omarchy-pkgs checkout in one place and skip package checks without it

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

* Keep the omarchy-pkgs checkout path literal when looking for its PKGBUILDs

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

* Fail rather than skip when the settings scriptlet is missing or unreadable

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

* Fail on an OMARCHY_PKGS_PATH that doesn't resolve and pin the omacom#944 gate to the old scriptlets

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

* Fail on an OMARCHY_ISO_PATH that doesn't resolve, as for OMARCHY_PKGS_PATH

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

* Ignore CDPATH when resolving companion checkouts

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…outs read (omacom#15177)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…wait (omacom#15202)

* Stop the runtime smoke test's leftover shell children, with a bounded wait

The inotifywait Quickshell starts for the plugin directory outlived the
killed test shell and held anything it inherited open, such as a flock
around the run. Stopping the shell now also gives up after three seconds
and kills it.

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

* Also stop runtime smoke leftovers whose shell died before cleanup

Addresses Greptile review: with Quickshell already gone, its reparented
children were out of reach of the descendant walk. They still carry the
test's scratch OMARCHY_PATH.

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

* Stop only processes that still carry the smoke test's OMARCHY_PATH

Addresses Claude review: a descendant collected before the shell stopped
could exit and its pid be reused before it was killed. Reading the
environment after the shell stops finds every leftover and nothing else.

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

* Re-read leftovers' environment before escalating to KILL

Addresses Codex review: the KILL after the grace period went to the original
pid list, any of which could have exited and been reused.

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

* Send the smoke test's shell KILL only while it was still seen running

Addresses Greptile review: bash can reap the shell and free its pid before
it is waited for.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… 10 seconds (omacom#15203)

* Read the keyboard seat again when /dev/input changes instead of every 10 seconds

Hyprland raises no event when a keyboard arrives or leaves, so a seat with
more than one keyboard was asked every 10s, per bar, for as long as the
shell ran. One inotify watch of /dev/input announces each device instead.

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

* Refresh the keyboard seat again after a device settles, re-arm a recreated /dev/input, and retry failed readings

Addresses Codex review: udev can take longer than the settle delay, a watch
on a deleted /dev/input never fires again, and a failed reading no longer had
the old poll to recover it.

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

* Test that a burst of device nodes settles before signalling, and stop the test shell before its watcher

Addresses Greptile review: back-to-back nodes could not tell a restarted
settle timer from a started one.

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

* Announce input devices when udev has finished with them, and keep retrying a failing watcher

Addresses Codex review: udev can finish with a device later than any fixed
delay, which its /run/udev/data record marks, and an inotify setup failure
gave up for good after five tries; it now backs off to once a minute.

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

* Read the keyboard seat again once a lost input watch is back

Addresses Codex review: a device arriving while the watcher restarted went
unseen.

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

* Read the keyboard seat again once the input watch is first set up

Addresses Codex review: a device leaving between the widget's first reading
and the watch going up went unseen.

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

* Read the seat only after a watch that held, and order the burst check instead of timing it

Addresses Claude review: a watcher failing at once announced on every retry,
so each bar asked Hyprland about once a second; the keyboard widget's
fallback timer now covers a watch that keeps failing. The burst check
compares the first signal with the last node rather than asserting on a
200ms margin.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
dhh and others added 18 commits October 13, 2026 23:08
…eload (omacom#15271)

Titlebars, shadows and opaque windows were set up only while the config
loaded with something floating. After a reload with nothing floating, the
titlebar plugin stayed loaded but turned off, and Super + L into floating
skipped the reload because the plugin was there, so floating windows had no
titlebars. The mode now sets them up the moment a workspace starts floating,
once per config load. The first floating workspace of a session still
reloads to bring the plugin in.

Co-authored-by: David Heinemeier Hansson <david@heinemeierhansson.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Add Liftoff wallpaper to Tokyo Night

* Use approved sunset Liftoff wallpaper
* Find foot terminals' shells with one process scan

omarchy-theme-set-foot ran pgrep for foot twice and once more per
terminal, each a full process-table scan at ~20ms. It now scans once
and reads each terminal's children from /proc.

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

* Quote the paths in the foot test's pgrep stub

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

* Fall back to pgrep -P where the kernel keeps no children list

/proc/<pid>/task/<pid>/children needs CONFIG_PROC_CHILDREN; without it
every foot terminal was skipped.

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

* Expect the fallback scan in the foot test where the kernel lacks children lists

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Every theme switch runs omarchy-theme-set-glass on freshly rendered files,
which never hold a block, yet each file first spawned two seds to escape
the markers. Checking for the block first takes the step from ~11ms to
~3ms.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
And remove the videos that aren't good enough yet to serve that role
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…macom#15200)

* Decode clipboard and track art previews at the size they are drawn

Clipboard image rows and the preview pane decoded each screenshot at its
full size, and the media popup did the same with track art on every
monitor. SizedImage fits an image in its box and decodes it at that size
in physical pixels, never larger than the file, and waits for layout so
nothing is decoded at native size first. Track art keeps a cropping Image
with its decode sized to the art slot.

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

* Keep SVG previews at their own shape and size

Qt renders an SVG at exactly sourceSize without a preserving fill mode, so
a strip would have been drawn as a square, and PreserveAspectFit covers the
box instead. SVGs, including clipboard captures named .svg+xml, keep Qt's
own handling.

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

* Bound cropped track art by its file and match only SVG suffixes

A cropping Image covers its sourceSize, so narrow artwork would decode
enlarged. SizedImage learns crop: the decode is bounded at twice the slot,
never larger than the file, and placed to cover it. A file like
drawing.svg.png is no longer taken for an SVG.

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

* Fall back to the file's size when a strip decodes empty

Fitting a very thin strip inside the bound rounds its short side to
nothing, which left it blank. Such a strip is small at its own size, so
decode it at that size instead.

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

* Keep the thin-strip fallback a sliver and match encoded SVG suffixes

A strip that decodes empty is decoded again covering a single pixel, one
pixel across and its aspect ratio long, rather than at the file's size,
which can be large. Util.fileUrl encodes .svg+xml as .svg%2Bxml, so that
counts as an SVG too. The fixture now decodes empty at any scale factor.

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

* Remember the thin-strip fallback by URL

Resetting a flag when the URL changed could reload the old strip first,
set the flag again and decode the next image as a sliver. Keyed to the URL
that came back empty, the fallback can't carry over.

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

* Take only a strip that rounded away for a thin one

A load that failed for another reason, such as art that only appeared
later, was remembered as thin and stayed a one-pixel sliver. Errors now
try the fallback once per URL, and a fallback that comes back shorter than
the bound is loaded bounded again.

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

* Judge a thin fallback by how it fits the box, not the box's long side

A strip limited by the box's narrow side came back shorter than the long
side and was wrongly loaded bounded again, leaving it blank. The fallback
bitmap carries the aspect ratio, so check whether fitting it keeps a pixel
across, and recheck only once per URL.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Turn on mpv hardware decoding through a system config

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

* Show mpv's output when the mpv config test cannot load it

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

---------

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

* Poll Fcitx only when there is an input method to switch to

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

* Keep one Fcitx poll, retry failed reads, and follow a relinked profile

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

* Cover renamed and linked Fcitx profile saves in the indicator test

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

* Watch the Fcitx profile's directories and honor FCITX_CONFIG_HOME

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

* Follow every link to the Fcitx profile and keep polling a lone engine

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

* Watch every hop of a chained Fcitx profile link

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

* Resolve the Fcitx profile path one component at a time

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

* Keep Fcitx profile watches through relink races and missing directories

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

* Resolve a relative FCITX_CONFIG_HOME before watching it

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

* Watch a Fcitx config beside the home directory and re-resolve after arming

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

* Find the Fcitx profile through its owner and skip watching settled directories

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

* Resolve a relative XDG_CONFIG_HOME against HOME and skip dot components

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

* Rebind the Fcitx profile watch when a watched directory moves away

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

* Watch each Fcitx profile directory below home for its own move

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

* Always watch the Fcitx profile entry itself

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

* Watch the Fcitx profile with one file monitor, keep the reading on a failed group count

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

* Watch the target of a linked Fcitx profile too

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

---------

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

* Release the image picker's previews a minute after it closes

The picker stays loaded between opens and kept every decoded card preview,
about 7 MB each and a dozen at a time, for the life of the shell. Hold them
while open and for a minute after closing, so a quick reopen still shows
at once, then let them go.

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

* Check that a preload extends the picker's grace period

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

---------

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

Bash writes it with the locale's decimal separator, so stripping a dot
left a comma behind in the benchmark clocks, and awk read the disk speed
test's timestamps as whole seconds.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Work out battery time left from the draw shown beside it

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

* Time charging to the battery's own limit and test each fallback

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Let bar widgets live in the tray's drawer

A fourth bar section, tray, is drawn inside the tray's drawer after the app
icons. Dragging a widget onto the tray drops it there, the drawer stays open
while a widget is dragged or one of its panels is up, and plugins can name
tray as their default section. The open-panel mark under the tray now sits
under the icon whose menu is open instead of the middle of the tray.

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

* Hide Superwhisper's tray icon while its bar widget is on the bar

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

* Keep the tray section working for tray clones and hidden widgets

A cloned tray hosts the section too, through two flags on the plugin bar
API. The empty drop slot shows when nothing in the section takes up space,
not only when it is empty, and the open-menu mark follows an icon still
sliding in with the drawer.

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

* Keep tray clones out of their own drawer and simplify the tray section

The registry treats a clone of the tray like the tray when refusing to put
it in its own drawer. The drop slot is reached through the drawer area
rather than handed over separately, and the drawer's list relies on the
module list skipping an empty section.

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

* Refuse enabling the tray into its own drawer instead of placing it elsewhere

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

---------

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

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 50b74e28-2b03-469a-adba-23dc912c7864

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cursor
cursor Bot marked this pull request as ready for review October 13, 2026 23:14

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale comment

Agentic security review of the upstream quattro merge. One medium finding: factory reset no longer sanitizes USBGuard/Bolt accessory trust inherited from @factory. Live migration 1791769486 does not rewrite that snapshot.

Open in Web View Automation 

Sent by Cursor Security Agent: Security Reviewer

Comment thread bin/omarchy-system-factory-reset Resolved
cursoragent and others added 3 commits October 14, 2026 02:34
A snapshot from the approval window still enables USBGuard and keeps Bolt enrollments after stage_full_reset.

Co-authored-by: ai <ai@id.grovr.au>
The removal migration edits the running root only, so a reset of an approval-era snapshot was booting the previous owner's allowlist and Bolt enrollments.

Co-authored-by: ai <ai@id.grovr.au>
…y-trust-70cf

fix(factory-reset): scrub inherited USB and Thunderbolt trust

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit b493942. Configure here.

@mark-groves
mark-groves added this pull request to stack #76 October 14, 2026 04:42
@cursor
cursor Bot merged commit cee24cb into quattro Oct 14, 2026
3 checks passed
@mark-groves
mark-groves deleted the cursor/upstream-changes-pr-492b branch October 17, 2026 23:22
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.

8 participants