Skip to content

Merge upstream quattro (50 languages, Kimi, quieter boot) - #79

Merged
mark-groves merged 47 commits into
quattrofrom
cursor/upstream-changes-pr-84cf
Oct 15, 2026
Merged

mark-groves merged 47 commits into
quattrofrom
cursor/upstream-changes-pr-84cf

Conversation

@cursor

@cursor cursor Bot commented Oct 14, 2026

Copy link
Copy Markdown

Cherry-picks upstream omacom/omarchy quattro onto this fork's quattro (cee24cbf, which already has #73, the factory-reset accessory scrub from #74, and the minimized-window layout from #75). Upstream moved from 492b8837 to 84cfb939. 46 commits are applied oldest-first, one fork commit per upstream commit, plus a catalog follow-up so the new English translations include this fork's rows.

Omarchy in 50 languages (omacom#15326)

The interface, menu, manual, and CLI strings ship in 50 languages. Setup > Language switches the session locale. omarchy-language asks for the locale grant before it prompts, and omarchy-locale-generate is the only privileged step. English stays the source catalog; a row you have not translated yet still shows English, and English labels stay searchable without becoming commands in another language. Right-to-left languages mirror the polkit window.

Kimi, and the agents panel

Kimi is a selectable default coding agent (omacom#7261), installed through mise like the other registry agents. The agents panel reads Kimi Code quotas (omacom#7274): 5-hour, weekly, and monthly allowances, without local token statistics. Interrupted Claude, Codex, and Grok sign-ins can be recovered (omacom#15399). omarchy agent account copy copies those subscription logins over SSH (omacom#15405) and keeps the source account's name when the destination already has that label (omacom#15430).

Cursor is still installed from Cursor's official tarball, not through mise.

Boot, links, and the shell

Boot is quiet and aims at about a second, with a way back to the menu (omacom#15301). The toggle aliases Super+Ctrl+O opens are pinned (omacom#15300). Orphaned plugin watchers are reaped when the shell starts (omacom#15299). Platform file views load without binding loops (omacom#15298). The tray host no longer reads a widget after it is gone (omacom#15320), and the power panel no longer closes itself inside its opened handler (omacom#15319).

Links from every app go through the running default browser (omacom#14441).

The fingerprint reader is left alone while the lock has the displays off, and it comes back when a display returns or the machine wakes (omacom#15294). The face card still rearms its presentation on that same wake.

A minimized window still keeps its workspace floating (omacom#15442). This fork already had that from #75; upstream's version also passes the client list through stdin, so a long window list does not fail with "Argument list too long".

Rust is removed through rustup's own path instead of a mise shim (omacom#15436). Language-tagged text picks the matching Noto CJK variant (omacom#15116). Dev checkouts pull only the blobs they need (omacom#15426). Flexoki Light has an intro (omacom#15315). The app skill records what building Signed taught (omacom#15372).

The shell test suite runs in parallel (omacom#15302), with guards from shell start to a drawn bar, launcher open, each bar panel, lock appearance, and login (omacom#15310, omacom#15311, omacom#15314, omacom#15316, omacom#15318). A long list of shell tests was tightened so the suite spends its time on the assertion rather than on sleeps.

Fork-only lines kept

  • Setup/Remove > Security > Face, and Update > Grok Bot / Cursor, stay, including in the English menu catalog. Other languages fall back to those English labels until they are translated.
  • shell/Commons/qmldir keeps FaceChrome and LockCover next to the new I18n singleton.
  • Face hints on the lock and polkit cards go through the catalog. The lock still rearms presentation beside the fingerprint pause, and the polkit card still hides while the session is locked.
  • omarchy-theme-set-vscode still does not theme Cursor. omarchy-powerprofiles-set still writes ActiveProfile through busctl. The menu power-profiles provider stays out.
  • Agents-panel tooltips still use the fork percent and early-reset helpers. A complimentary reset still names the day; other windows use the translated countdown.
  • Grok Bot and Cursor still run cold after AUR. fix(factory-reset): scrub inherited USB and Thunderbolt trust #74's factory-reset scrub of inherited USB and Thunderbolt trust stays.

Tests

  • ./test/cli passes, including metadata for the new language and Kimi commands.
  • Default agent, Kimi install and usage, menu, dock, floating workspaces, lock fingerprint blanking, lock face, polkit face, plugin validate, factory-reset accessory trust, locale sudoers, update disk space, agents panel, and the structural i18n check pass.
  • The structural i18n check is the pull-request gate (I18N_STRUCTURAL=1). Face, Grok Bot, and Cursor are in the English catalog only; the other 49 languages are left for the translation sync.
Open in Web View Automation 

yamz8 and others added 30 commits October 14, 2026 23:02
The orb forms out of its own dither dots on the bare page, from its dark
core out to its soft edge, and lands on the wallpaper.

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

The smoke log carried: Tray.qml: TypeError: Cannot read property
'sectionHost' of null. The bar tears the tray section area down in
its own order on a plugin rescan, and that can be after the tray
widget itself is destroyed, when root is already null. Only
unregister while the widget still exists.
…#15319)

* Stop the power panel closing itself inside its opened handler

On a machine without a battery, opening the power panel ran
onOpenedChanged, which called close() synchronously: writing the
very property whose change was being notified, which QML reports
as a binding loop for Panel.opened on every attempt. Defer the
close with Qt.callLater; the panel still never shows without a
battery (its button is hidden and KeyboardPanel gates on
batteryPresent), it just stops looping to say so.

Add a runtime-smoke log check for the opened loop.

* Exercise the power panel's no-battery path on any machine

The smoke check only reaches the deferred close where no battery
exists. This fixture runs the real power panel against a dead
system bus (no UPower display device), opens it, and requires it
to settle closed with no binding loop, laptops included.
Mutation-checked: restoring the synchronous close fails it.
…omacom#15297)

'bar put' leaves a widget that is already on the bar where it is, but
the test put omarchy.keyboard-layout, which the default bar already
carries in right, so it could never appear in center after the clock.
Put omarchy.microphone instead, which the defaults do not carry.
* Load platform FileViews without binding loops

AudioNodes.hints and Bar.displayCutouts were readonly bindings reading
text() and the missing flag their own load handlers write, which QML
reports as a binding loop on every shell start. Follow the Color.qml
loader pattern instead: plain properties updated from onLoaded /
onLoadFailed (a removed file still describes nothing).

Add a runtime-smoke check that shell start has no binding loop for
either property, and update the source-wiring asserts in bar-notch and
audio tests to the imperative form at the same strength.

* Assert the synchronous platform FileView reads stay

Greptile: the handler checks alone would still pass if the startup
initializer were replaced with an empty value, supplying cutouts too
late for the first bar mapping. Pin the synchronous initializers
too.
* Reap orphaned plugin watchers at shell start

Quickshell does not take its Process children with it when it stops,
so every shell restart left the plugin-directory inotifywait running,
reparented to init — 79 of them on one machine. Stop the watcher on a
graceful destruction, and at startup, before starting our own, stop
any plugin watcher whose parent is no longer a shell. A live shell's
watcher, parented to it, is spared.

* Match the reaped watcher's directory exactly, and test the real reap

Greptile: a substring match also caught a watcher of
plugins-backup; the test copied the reap instead of running it and
only looked for a live watcher after reaping. The reaper now matches
a whole command-line argument, and the test extracts the real reap
command from PluginRegistry.qml, finds its live watcher (a stand-in
named quickshell) before reaping, and checks it and a similarly
named directory's watcher survive.

* Keep the reaped-watcher checks honest about zombies and cleanup

Greptile: the stand-in parent never waited, so a killed watcher
could linger as a zombie that kill -0 still sees; poll the child,
check the survivor is not a zombie, and let the cleanup trap run
when pkill finds nothing.
Dropping the toggle/toggles aliases from trigger.toggle silently broke
Super+Ctrl+O (omacom#15168) because nothing asserted them. Pin the alias list
and both spellings' route resolution on the real default menu.
* Boot in 1 second, quietly, with a way back to the menu

Limine's 5-second menu wait is most of the loader time at boot. The
template now ships timeout: 1 with quiet: yes (any key still shows the
menu), a migration applies the same to existing installs only where
no uncommented timeout of the user's own exists (quiet is added
wherever missing, and reruns change nothing), and System gains
Reboot to Boot Menu via omarchy-system reboot-boot-menu, which asks
systemd for the boot loader menu for 30 seconds through the usual
graceful session exit.

* Check for the boot menu with sudo in the quiet-boot migration

The ESP is often mounted umask=0077, so the unprivileged existence
check missed limine.conf and let the migration complete without
applying anything.

* Leave the quiet-boot migration pending when sudo is denied

Authenticate before treating an unreadable boot menu as a missing
one: the ESP is often mounted umask=0077, and a cancelled prompt
must not mark the migration complete without applying it.

* Insert a missing boot timeout without rewriting the menu

Prepending by reading the menu into its own overwrite raced the
writer against the reader; insert the line with sed instead, and
cover the no-timeout-line case.

* Report what the quiet-boot migration actually changed

Greptile: with a user timeout kept, the message still claimed a
1-second wait. Report the timeout and quiet changes separately.
Also cover a denied sudo prompt: it must fail the migration, leaving
it pending, without touching the menu.

* Skip the denied-sudo migration case as root

Greptile: root ignores the chmod 000 staging, so the denied-prompt
case falsely fails there. Skip it under root; it runs for the
unprivileged runs the migration actually faces.
* Guard shell start to a drawn bar

Time three cold Quickshell starts in a scratch home until the
compositor maps this shell's bar surface at a real size, fastest
wins, scaled to how fast the machine starts processes. 150ms on
this machine; budget 750ms before scaling, in line with the theme
and menu guard budgets' headroom.

* Keep the startup budget's scratch shell off the real session

* Put the startup stubs on the scratch shell's PATH

* Stub power-profile changes in the startup budget's scratch shell

* Include the default tree in the startup budget's scratch checkout

* Keep the startup budget's scratch shell awake and inside its checkout

* Make every startup sample cold
* Guard launcher open to first frame

Time three warm summons of the menu in a scratch shell until the
compositor maps its surface at a real size. The menu is keepLoaded,
so this is the open a user gets; first-open-after-start pays the
plugin scan and belongs to the shell startup guard. 11ms here;
budget 150ms before process-speed scaling.

* Keep the menu budget's scratch shell awake and inside its checkout

* Wait for a real ping reply and a confirmed menu state
* Guard each bar panel's first open and reopen

Panels build content lazily on first open, so time each panel in a
scratch shell from IPC open to its surface mapping in the
compositor, then close and reopen: first open builds, reopen must
stay instant. First opens here: 12-66ms (audio slowest); budgets
400ms first / 150ms reopen before process-speed scaling. Power is
timed only where a battery exists, since it hides itself without
one.

* Wait for panel handlers, and report the power skip as a skip

* Detect the battery with omarchy-battery-present

* Only count confirmed panel states, and wait for a real ping
* Guard lock screen appearance

Time the lock UI in a scratch shell on its preview surface, which
renders the same LockView as the real lock without engaging the
session lock: a real WlrSessionLock in a test would lock the
developer's own session and need a password to leave. First
appearance (which builds the view) gets 300ms, reappearance 150ms,
before process-speed scaling. The test also asserts the preview
never engaged the real lock. Lock-before-suspend, the resume side,
is already bounded by omarchy-system-sleep-lock and its test.

* Keep first appearance out of the reappearance minimum

* Time lock view construction too, and only count confirmed states
* Guard login to a drawn bar through the launcher

Time the login segment a test can own: bin/omarchy-launch-shell
(what the session starts at login) in a scratch home until the
compositor maps the bar. Greetd and compositor start need a real
boot and stay with image/acceptance testing; this covers the
systemd-cat spawn, launcher supervision, and shell start after
the compositor exists. 146ms here; budget 750ms before scaling.

* Make every login sample a fresh login

* Follow the launcher's replacement shell
* Run the shell test suite in parallel

397 files one after another took about 7 minutes. Files that do not
need the live compositor now run through an xargs job pool sized to
nproc, each buffering its output to its own file; files that call
require_compositor (or carry an omarchy:exclusive marker) run one at
a time afterwards. Output is then printed whole, in the original
order, so the log reads as it did, and the skipped/failed summaries
are unchanged.

* Keep test paths with spaces whole in the parallel runner

* Keep timing-sensitive tests out of the parallel pool

The budget guards calibrate process speed against the machine; a busy
pool inflates their thresholds (730ms vs 540ms standalone in review),
and sleep-lock's unscaled timings can false-fail under load.

* Keep two more deadline-bound tests out of the parallel pool

Greptile: sleep-monitor checks a fixed two-second limit and
hyprland-window-close-all gives real commands one second; both can
miss their deadlines because the pool is busy, not because the code
is wrong.
…5116)

* Pick the matching Noto CJK variant for language-tagged text

The generic assigns swap sans-serif, serif and monospace for fonts
with no CJK glyphs, so tagged Chinese text ends up on whatever Noto
CJK variant the charset scan finds first, usually the Japanese one.
Fold the many Chinese tags down to one per variant and prepend the
matching family ahead of the assigns.

* Preserve multilingual CJK requests and isolate locale tests

Normalize a private language copy so CJK selection cannot discard Urdu or other requested languages. Exact membership keeps bare Chinese tags on their intended variant in langsets that also contain another language.

Clear caller locale overrides in both matching paths, cover mixed-language requests and each override, and report unavailable Chinese locale coverage explicitly.

Co-Authored-By: GPT-6 in Codex <noreply@openai.com>
Co-Authored-By: Codex Medium (GPT-6.1-sol) <noreply@openai.com>

---------

Co-authored-by: 雷电芽衣 <zhangyanghaha0407@outlook.com>
Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: GPT-6 in Codex <noreply@openai.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Read dock autohide and position state for menu guards

* Update plugin-validate test for tray default section

* Fix webapp-install test StartupWMClass expectation

* Point webp migration test at renumbered swirl-buck background

* Verify startup cursor restore via compositor state when pixels are unavailable

* Stub gum in kitty-config test so mise trust cannot leak in

* Seed intro session marker in screenshot sanity test
* Add Kimi as a selectable default coding agent

Kimi Code (kimi) joins the default agent picker: omarchy-default-agent
installs it through mise as npm:@moonshot-ai/kimi-code, the launcher
runs it with --yolo unattended (falling back to non-interactive
--prompt for initial prompts, since kimi has no interactive-prompt
flag), and the Defaults > Agent menu gains a Kimi entry.

* Preinstall a lazy Kimi stub like the other coding agents

install/user/mise.sh gains an omarchy-mise-install entry for
npm:@moonshot-ai/kimi-code, so fresh installs get the ~/.local/bin/kimi
lazy wrapper alongside the other agents. Migration 1786967403 adds the
stub on existing systems, respecting the preinstalls-removed opt-out,
and omarchy-remove-preinstalls deletes it again.

* Preserve user-managed Kimi installations

Setup and migration create a lazy wrapper only when Kimi is missing. Removing preinstalls deletes only the Omarchy mise wrapper, preserving native executables, scripts, and symlinks. Exercise repeated operations with real helpers and a home path containing spaces; keep Kimi after Hermes in the current agent menu.

Co-Authored-By: GPT-6 in Codex <noreply@openai.com>

Co-Authored-By: Codex Medium (GPT-6.1-sol) <noreply@openai.com>

* Provision all mise wrappers unconditionally

Provisioning and an explicit application refresh restore Omarchy’s lazy wrappers for every tool. Kimi, Cursor CLI, and Muse follow the same policy as the other preinstalls. Keep existing-install protection in migrations and removal, and verify repeated provisioning replaces scripts, binaries, and symlinks consistently.

Co-Authored-By: GPT-6 in Codex <noreply@openai.com>

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: GPT-6 in Codex <noreply@openai.com>
…m#14441)

* Focus the matching window used last when several match

A browser hands a new tab to the window that was focused last, so that is
the one to bring forward.

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

* Route links from every app through the running default browser

Electron apps open links through the desktop portal, which runs the default
browser's desktop entry without an activation token, so the window that took
the tab stays out of sight. A Hyprland-specific mimeapps list now points http
and https at omarchy-browser.desktop, which opens them through
omarchy-launch-browser to hand them over and focus the window. The browser
itself stays in mimeapps.list, where xdg-settings and the browsers keep it.

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

* Stop browsers asking to be the default behind the link routing

Links reach the browser through omarchy-browser.desktop, so the browser's own
check finds another handler in front of it and asks to be made the default.
Chromium-family browsers skip that check with --no-default-browser-check,
which the hand-off accepts as one of Omarchy's own flags, and a managed
DefaultBrowserSettingEnabled=false policy hides the button that would rewrite
mimeapps.list behind Omarchy's back. Firefox and Zen get the
DontCheckDefaultBrowser policy.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Add a Kimi usage collector to the agents panel

omarchy-agent-usage-kimi prints the Kimi for Coding quota as a usage
record: the weekly quota and per-window limits (such as the 5-hour
session) from api.kimi.com's usage monitor, the same payload the CLI's
/usage command renders. The bearer token comes from KIMI_API_KEY when
set, otherwise from the kimi-code sign-in under KIMI_CODE_HOME
(default ~/.kimi-code), falling back to the legacy kimi-cli store.
Expired tokens are refreshed the way the CLI does, under flock, with
the rotated single-use refresh token persisted back so the CLI keeps
working from the same file. Tokens only leave the machine for kimi.com
over HTTPS and redirects are refused.

The panel gains the tab through the existing collector discovery; the
manifest enables the provider by default.

* Match current Kimi authentication and quota contracts

Read all current quota windows, isolate explicit homes, coordinate single-use refresh tokens with the current directory lease or legacy flock, and publish rotated credentials privately after flushing them. Restrict credential destinations and redact service errors. Keep last-known limits visible on failed probes and distinguish quota from local history.

Co-Authored-By: GPT-6 in Codex <noreply@openai.com>

Co-Authored-By: Codex Medium (GPT-6.1-sol) <noreply@openai.com>

* Keep Kimi quota bound to the request credentials

Bind cached limits to the token actually used for the request, and carry last-good quota across a refresh only when this collector verifies the same-account grant. This prevents concurrent sign-in from assigning one account’s limits to another and preserves stale meters after successful rotation followed by an outage. Label the code-specific monthly allowance through the panel’s existing scoped-meter contract.

Co-Authored-By: GPT-6 in Codex <noreply@openai.com>

Co-Authored-By: Codex Medium (GPT-6.1-sol) <noreply@openai.com>

* Preserve Kimi sign-in changes during token refresh

Reread credentials after the HTTP exchange so a sign-in or logout completed while the request was in flight is preserved. Use the new account’s fresh credentials or report the changed sign-in rather than restoring an older account. Validate the complete rotated token pair before publishing it, matching the current CLI grant contract.

Co-Authored-By: GPT-6 in Codex <noreply@openai.com>

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: GPT-6 in Codex <noreply@openai.com>
Full clones made before the blobless clone policy downloaded every blob in
the new history on each update. Convert them once with a filtered fetch so
later pulls fetch only what the checkout needs.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The two mise probe scenarios ran the stub codex on a PATH without
jq, so it never answered and each waited out the full 8s RPC
timeout. Link jq into the safe tools dir alongside python3 and rg.

The two stall scenarios exist to watch the collector give up; the
test now runs a scratch copy of the collector with its 8s RPC
timeout shortened to 0.5s instead of waiting out the real one.
Test-only; the collector is untouched.
The test waited out the watcher's real delays with fixed sleeps:
500ms settle, 3s follow-up, 1s retries, about 37s of sleeping in
total. It now stages a copy of Commons with InputDevices' delays at
a quarter length (125/750/250ms, quick-exit threshold and retry base
included) and polls for the expected signal counts instead of
sleeping past them. The burst-settle timing assertion is unchanged.
Test-only; InputDevices itself is untouched.
The watcher's 2s gateway poll made every scenario cost at least
one full poll, and the deadline scenarios two. The test now runs a
scratch copy of the wrapper with that poll shortened to 0.1s (the
settle and gateway timeout were already test knobs). Stub wizards
that only had to outlive a wrong stop sleep 2s instead of 4s, and
the wrapper-kill scenario polls the log instead of sleeping fixed
seconds. Test-only; the wrapper is untouched.
Every stall scenario waited out capture.sh's real 2s read timeout,
and the never-closing-owner scenarios also waited out the stub
owner's 5s sleep because the pipeline ends with its slowest member.
A timeout stub in the test's bin now rewrites capture.sh's 2s bounds
to 0.3s (other durations pass through, so the outer 4s guard is
unaffected), and the stub owner sleeps 1s, still well past the
deadline it must miss. Test-only; capture.sh is untouched.
* Overlap the idle-spawn guard with the parallel test pool

The serial compositor chain is most of the suite's wall time
(173s of 227s), and shell-idle-spawn is 45s of it, 30s of which is a
passive idle window. Its accounting is scoped to its own shell's
process tree through an LD_PRELOAD exec logger, so pool load cannot
distort what it counts. The runner now starts it beside the pool and
waits for it after the serial chain; everything timing-sensitive
(budgets, sleep-lock) still runs after the pool drains. Suite wall:
227s to 183s.

* Wait for overlap jobs before the exclusive chain

Exclusive files launch full shells on the live compositor; the
clipboard plugin's startup pkill would kill the idle guard's
watchers and their restarts would count as idle spawns. Overlap only
with the pool, then join before the serial chain.
The lock-wait scenarios each cost at least one full 2s poll of
unshallow_runtime's wait for a live git, plus 2s between fetch
retries. The test already runs scratch copies of the installer
scripts with system paths substituted; the copy of
omarchy-install-hermes-cli now also gets its two 2s polls shortened
to 0.1s. The 60s wait budget is untouched (it counts polls, so a
shorter poll just polls more often). Test-only.
dhh and others added 17 commits October 14, 2026 23:05
…#15402)

Cleanup globbed $tmp/lazy-state*/gate to release the fixture gates,
but a gate file that does not exist yet cannot match a glob, so no
gate was ever released: gated workers waited forever and cleanup
polled the full 500x0.02s grace before TERM on every exit that still
had gated workers. The two cleanup scenarios cost 10s each that way,
and a failing run of the test itself would too. Glob the state
directories and touch the gate inside each.
…5403)

The test's whole point is BackgroundIntro's 10s fallback deadline
firing when the wallpaper is missing, and it waited all 10s to see
it. It now stages a copy of the services with that deadline
shortened to 1.5s and checks just past it. Test-only; the shell
service is untouched.
Only the pty Ctrl-C case had slack: its fixed waits around the ^C
(4s/1s/1s) shrink to 2.5s/0.5s/0.5s, which still lands the ^C inside
a retry attempt (the first attempt ends at 2s and retries run
back-to-back). The 2s drop-threshold patch stays at 2s: SECONDS is
whole seconds, so at a 1s threshold a fast failure crossing a second
boundary would read as 1s elapsed and reconnect.
Both files spend their time waiting out the supergfxctl query
timeouts against wedged-daemon stubs: three 3s attempts in the
toggle, 1s plus the 1s kill-after per detection. A timeout stub in
each test's fake bin rewrites those bounds (1s/3s and the kill-after
grace) to 0.2s and passes other durations through, so the harness's
own guard timeouts are unaffected. The toggle's retry sleep was
already stubbed out. Test-only; both commands are untouched.
The supervisor scenarios waited out the real 1s relaunch backoff
(five of them for the keeps-dying case) and the 0.5s compositor
probe retries. The test now runs a scratch copy of the supervisor
with those two sleeps shortened (0.3s/0.05s); the backoff stays well
above the test's 0.05s launch poll so the signal-during-backoff
case still lands inside it. Test-only; the supervisor is untouched.
The recovery loop's backoff starts at 3s and doubles, and the test
waited it out in real time. A sleep stub in the watcher's fake bin
runs its sleeps at a fifteenth of their length (the doubling ratios
survive, which the echoed-configreloaded bound relies on: one loop
reloads at most twice in the window, a stacked second loop would
exceed it). The absence windows shrink to 0.6s, still several loop
cycles. Test-only; the watcher is untouched.
The live-GLib-loop scenario ran the reader's real cadences: 500ms
polls, a 2s retry, 200ms settles, about 9s of scheduled steps. The
test already wraps GLib.timeout_add to record requested intervals;
it now also registers each timer at a fifth of its requested length,
and the scenario steps shrink to match. The cadence assertions still
check the requested intervals, and the poll-count window keeps the
same expected reads and slack. Test-only; the reader is untouched.
The unavailable-OWE case waited out the real five-second window to
prove startup gives up after it. That case now runs a scratch copy
of omarchy-theme-bg-boot-intro with the window shortened to one
second, asserting the same waited-then-settled shape against the
shorter window. Test-only; the launcher is untouched.
…15418)

Every contended invocation waited out the product's 1s lock wait
before deciding a start was in progress, and the TERM-ignoring
recorder case waited out the full 2s TERM-to-KILL grace (20 polls
of 0.1s). The test's existing flock stub now rewrites the 1s lock
wait to 0.2s, a sleep stub runs the 0.1s/0.2s recorder polls at
0.02s/0.05s (the test's own shorter sleeps pass through), and its
external lock holder holds for 1s instead of 2s. The starts under
test are gated, so they are still holding the lock when the
shortened waits expire. Test-only.
Two stub update steps slept 2s and 3s only to still be running
while the test poked at the lock and the inhibitor's descriptors;
the test waits for the whole update afterwards, so those sleeps
were paid in full. They only need to outlast a marker poll and an
fd scan: 0.8s and 1s keep a wide margin over both.
The blocked-transition case waited out force-igpu's real supergfxctl
timeouts (3s plus the 1s kill-after, against a stub that hangs and
ignores TERM). The test already runs a sed-patched copy of the hook
with stub paths; patch its timeout bounds down to 0.3s/0.2s the same
way. What is asserted is unchanged: the request is bounded, reports
failure, and keeps the restore intent for the next cycle.
The three budget-derivation scenarios prove the derivation by
running never-securing sessions for the whole derived budget: 1s
for a short logind window, 4s for the unreadable fallback, and the
full 12s cap for a huge window. They now run a scratch copy with
the cap, the assumed fallback window, and the reserve floor at a
quarter of their real values, with mock logind windows to match, so
the derived budgets come out at a quarter length; the elapsed
bounds are the unscaled ones divided by four at the same slack, so
short-window, fallback, and capped budgets remain distinguishable
by the same margins. The shipped-window check at the end still
reads the real script. Test-only.
omacom#15294)

* Leave the fingerprint reader alone while the lock has the displays off

The lock kept a fingerprint verify running for the whole lock, starting a new
one a quarter-second after each ended, plus a 1-second timer to notice
sleep. That held the reader and fprintd awake all night. Blanking the
displays now closes the attempt without counting it as a miss, stops the
retry and sleep-watch timers, and any wake starts the reader again.

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

* Let a running fingerprint attempt finish when the lock blanks, and keep its backoff

Aborting the attempt at the blank cut short a slow reader's claim, and
starting one straight away on wake skipped the backoff that gives a wedged
fprintd its idle exit. Blanking now only holds back the next attempt: one in
flight finishes under its own timeouts with the sleep watch covering it, a
wake re-arms the retry with whatever backoff was set, and the lock request
made before every suspend marks a sleep so the wake recovers at once.

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

* Bring the fingerprint reader back after a resume, and only for a display arriving

A resume can light the panel with no input, which left the reader paused
under a visible lock. The lock request made before every suspend now arms a
one-shot that fires once the machine runs again, resuming the reader and
restarting the blank countdown. A screen change resumes it only when an
output arrives, so unplugging a monitor while blank keeps it paused.

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

* Resume the fingerprint reader only after a sleep is seen

The idle service repeats the lock request while already locked, and that was
taken for a suspend, waking the reader under a blank display. After a lock
request the lock now watches the wall clock for the few seconds a suspend
takes to begin, and resumes the reader only on the jump a sleep leaves.

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

* Count time spent blank toward the fingerprint backoff, and wait out logind's delay

A wake restarted the full backoff, so a reader whose wait ran out while blank
could be paused again by the next blank before any attempt. The retry now
resumes with whatever is left of its deadline. The sleep watch after a lock
request runs 20 seconds, past logind's 15-second inhibitor delay, so a
suspend that waits on another inhibitor is still seen.

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

* Keep the fingerprint backoff tier across a wake so input can't cut the idle window

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

---------

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

mise links the rustup toolchain as its own rust install and puts shims
for rustup on PATH. With no global rust version set the shim fails, and
the swallowed error left Rust installed while the menu reported success,
keeping Install > Development > Rust disabled.

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

* Test a minimized window keeps its workspace layout

A default layout change drops the floating mode of a workspace whose
windows are on special:minimized, which hides the dock that brings
them back.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>

* Keep the layout of a workspace with minimized windows

Minimizing tags the workspace a window left. A default layout change
counts that workspace as busy, so its floating layout and the dock stay.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>

* Pass the client list to jq through stdin

A single argument is capped at 128 KiB, which a client list reaches at around 150 windows, and past that every default layout change refused with "Argument list too long".

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

---------

Co-authored-by: Mark Groves <149283429+mark-groves@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Codex Medium <noreply@openai.com>
* Add 50-language support with Setup > Language picker

Registry, English source catalogs, and runtime translation for the menu,
Quickshell desktop, and CLI notifications, with English as the default
and per-string fallback. omarchy-language also sets the system locale.
Danish ships as the first complete translation.

Co-Authored-By: Muse <noreply@muse.dev>

* Translate UI catalogs to 49 languages

Menu, shell, and CLI catalogs for every language in the registry,
mirroring the English keys and placeholders.

Co-Authored-By: Muse <noreply@muse.dev>

* Translate the manual to 49 languages

Every chapter under manual/<code>/, mirroring the English structure,
links, and code blocks.

Co-Authored-By: Muse <noreply@muse.dev>

* Tighten i18n test aggregation

Co-Authored-By: Muse <noreply@muse.dev>

* Fix i18n regressions in shell and CLI tests

Declare textFormat on newly dynamic Text bindings, translate the
ConfirmDialog Delete/Uninstall buttons, and point source-level test
assertions and the yt-dlp fixture at the catalog mechanism.

Co-Authored-By: Muse <noreply@muse.dev>

* Address review: routable aliases, terminal-less sudo, token args

English labels move to search-only terms so routing is identical in
every language; omarchy-language only hands off to a terminal when
privileged locale work remains and persists after applying; CLI
catalogs switch to %1 tokens so translations can reorder arguments;
catalog rebuilds skip the guard batch; leftover prompts and tooltips
join the catalogs.

Co-Authored-By: Muse <noreply@muse.dev>

* Add translation sync automation

Individual PRs only add the English side; a scheduled workflow
extracts embedded English, translates whatever the source-hash
manifest marks pending (one Muse runner per language), and lands
it as an auto-merging PR gated on the structural i18n check.

Co-Authored-By: Muse <noreply@muse.dev>

* Address Codex review of the i18n sync automation

* Let the manual validator treat bracket placeholders as placeholders

* Translate the tray drawer paragraph from quattro

* Address Greptile review: ampersand args, root heading, manual integrity test

* Format the clock in the Omarchy language

Qt.formatDate and a bare Qt.locale() follow the system LANG, which only
catches up at the next login. The bar clock, the calendar heading, and the
week start now use the language's formatLocale; the month title takes the
standalone month name, and the date patterns that vary by language live in
the catalog. The remaining clock labels go through I18n.t().

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

* Elevate the language switch with pkexec from the menu

Picked from the menu there is no terminal for sudo, so the switch used to
open a floating terminal just to ask for a password. Generating the locale
and setting LANG now run as one elevated script: pkexec without a terminal,
sudo with one, so there is a single prompt either way. A cancelled prompt
still leaves the language unchanged.

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

* Show the battery status in the Omarchy language

The status notification and the power panel's time left were assembled in
English. The line, its durations, and the holding/charging phrases now come
from the catalog, and the power reading is joined with no-break spaces so a
longer language wraps between the parts instead of inside "13.1W / 53Wh".

Tests now pin the language to English, so a machine set to another language
does not fail assertions on English output.

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

* Route the remaining shell and bin text through the catalogs

Every panel, bar widget, indicator, dialog, and menu string the earlier pass
missed now goes through I18n.t(), and the notifications, menu prompts, and
confirmations the commands show go through omarchy-i18n: hero phrases,
tooltips, statuses, section headers, empty states, the polkit and lock
prompts, gum's Yes/No buttons, and the agents panel's sign-in help.

Values that are stored, compared, or answered over IPC stay English and are
translated only where they are displayed. Sentences are whole keys with
placeholders, with a separate key for exactly one where English pluralizes,
and dates use the language's formatLocale rather than the system locale.
Terminal output, usage text, and diagnostics stay English.

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

* Shrink button labels that outgrow a fixed width

A translated label can be much longer than the English it replaced, and a
button laid out at a fixed width (the DNS provider pills) let it spill over
its border. The label now spends half its padding first, then shrinks to
fit, and elides only when even the smallest size does not.

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

* Load the language catalogs before the first lookup

The catalogs loaded asynchronously, so bindings evaluated at startup got
the raw key back, briefly showing it and logging QString::arg warnings for
keys with placeholders. They are small local files, now read synchronously.

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

* Let plugins and apps follow the Omarchy language

Third-party shell plugins can ship their own catalogs as i18n/<code>.json
and read them through Commons.Translations, which follows the language live
and falls back from pt-BR to pt to English per string. The omarchy skill's
plugin guide shows how, and the omarchy-app skill gives apps a small
JSON-backed QTranslator so they keep plain qsTr() and switch with the
desktop, with templates that build and test as written.

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

* Catch more embedded English and give Muse context

The extractor only knew a few exact property names, so tooltipText,
activeTooltipText, leftLabel, and hero phrase lists slipped past it. It
now flags any display-text property, every literal on such a line, and
bare string-list items, skips identifiers, and honors an "i18n: ignore"
line marker for values that must stay English.

Muse now gets reference translations from the same areas and guidance for
playful phrases, Qt date patterns, short units, and plural pairs, so new
strings match the terms each language already uses. The key-reference
check also skips __pycache__, which tests can leave in bin/.

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

* Translate the new strings with Muse

Fills the shell strings in all 49 languages and the command strings in
the 30 that ran after they landed, recorded in the translation manifest.
The rest are pending for the next sync.

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

* Count only %1-style placeholders in the catalog check

Nothing in Omarchy escapes a percent sign, and Turkish writes it before the
number, so "%%2" is a correct translation of "%2%". The test now counts
placeholders the way the sync script's validator does.

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

* Stack the dock grid's Uninstall row under Keep in Dock

A misplaced brace nested the Uninstall row inside the Keep in Dock row,
so it drew over it instead of below, and vanished with it when there was
no dock to keep apps in.

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

* Add plural forms, localized numbers, and text direction to i18n

A catalog value can now be an object of CLDR plural categories, and each
translation supplies exactly the forms its language's counts reach: one
and other in English, one/few/many in Russian, six in Arabic, one in
Japanese. The rules live in Plural.js for the shell and plural.jq for
omarchy-i18n, checked against each other in every language; the sync
script asks plural.jq which forms Muse must return. I18n.tn() and
omarchy-i18n --count pick the form.

Numbers follow the language through the registry's decimal separator and
digits, taken from Qt: I18n.formatNumber() in the shell, and omarchy-i18n
localizes plain-number arguments (or --number for one value). I18n also
exposes rightToLeft from the registry, Util.readingKey() maps Left and
Right along the reading direction, and OMARCHY_LANGUAGE_FILE pins the
shell's language the way it already pinned omarchy-i18n's, so tests no
longer follow the machine's language.

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

* Count, write numbers, and mirror across the shell and commands

Every string that counts something is now a plural entry, read with
I18n.tn() or omarchy-i18n --count, replacing the separate "…One" keys and
the English-only count == 1 branches. Every displayed number goes through
I18n.formatNumber() or a plain-number argument to omarchy-i18n, so Danish
reads "13,1 W" and Persian its own digits.

Arabic, Hebrew, Persian, and Urdu mirror the panels, menus, notifications,
and dialogs with LayoutMirroring. Things placed by explicit x arithmetic
(slider knobs, ticks, the day-length strip, toggle knobs) follow the
mirroring, back and forward glyphs swap, and Left/Right keys move along
the reading direction. The bar keeps the user's arrangement, the dock
strip keeps its slot order, and the Wi-Fi QR code and transport controls
are never mirrored.

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

* Show plugins and apps how to count, write numbers, and mirror

The plugin guide covers plural entries through Commons.Translations.tn(),
numbers through I18n.formatNumber(), and what mirroring does and doesn't
flip. The app template's Translator now picks plural forms for
qsTr("%n clips", "", n), loads English plural forms from en.json, takes
the locale from Omarchy's registry so numbers match the desktop, and sets
the layout direction for a mirrored root; it builds and tests as written.

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

* Translate plural forms and tidy translations with Muse

Each language now has the plural forms its counts need for every counted
string. A review pass translated strings left identical to English where
the language has its own word, keeping brands and real loanwords, and
labels too long for their buttons ("Custom" on the DNS row, the power
profiles) got shorter words.

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

* Refresh the English menu catalog after merging quattro

quattro added menu rows, so the English catalog is regenerated from the
menu definition and the new labels can be translated.

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

* Translate the keybindings menu

The Super+K menu lists what each shortcut does, in the English the
bindings describe themselves with. Those descriptions now have a catalog
of their own, keyed by the English text and generated from the bind calls
in default/hypr/bindings (a description built with .. becomes a pattern
such as "Switch to workspace %1"), with a test keeping it in step and the
sync workflow translating it when the bindings change.

The menu shows each row's description in the current language after it
has ordered the rows, touching only the text after the arrow, so the chord
column and what a row runs stay the same. A description a user wrote
shows as written.

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

* Set the session language through uwsm

Switching language used to rewrite LANG in /etc/locale.conf, which took a
password every time and only reached other apps at the next login. LANG
now goes to ~/.config/uwsm/env.d/50-omarchy-language, which uwsm exports
at every login, and into the running session's systemd user environment,
which every app launched through uwsm app starts from: apps opened after
the switch use the new language at once, and apps already open follow
when restarted. The language is a per-user choice, so the system locale
is left alone.

Root is now needed only to generate a locale the first time it is picked;
switching between generated languages asks for nothing.

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

* Translate the keybindings menu and new menu rows with Muse

The keybinding descriptions and quattro's new menu rows, in the 23
languages finished so far; the rest follow in a later pass.

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

* Finish translating the keybindings menu and the session-language change

Completes the keybinding descriptions and quattro's new menu rows in every
language, translates the new notification that apps opened after a
switch follow it (retiring "log out and back in"), and the reworded
getting-started and AI chapters of the manual.

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

* Translate the reworded AI chapter in the remaining languages

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

* Run the translation sync when the Hyprland bindings change

The keybindings catalog is generated from default/hypr/bindings, so a
changed description there is new English to translate.

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

* Show the language icon on the language-change notification

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

* Switch to a new language without a password

Picking a language whose locale wasn't generated yet stopped for a polkit
password prompt. Generating it now goes through omarchy-locale-generate,
a root helper that takes only a registry code, reads the locale from the
packaged registry, and pins PATH while it holds root. A sudoers rule lets
wheel run it without a password for each of the 50 codes, named as the
whole argument, like omarchy-dns's provider toggle. Machines whose
settings package predates the rule still get sudo in a terminal or polkit
from the menu.

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

* Keep dash-leading arguments to omarchy-i18n as text

jq kept parsing options after --args, so a placeholder value starting
with a dash (a label like "-work") was read as an option and the whole
string fell back to its key. A -- after --args ends option parsing.

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

* Put the glyphs back on the time and font notifications

The i18n sweep stripped the clock glyph from omarchy-notification-time,
leaving `-g -u low`, so -u became the glyph and "low" the headline; the
font-change notifications had lost theirs before, handing the message
to -g. A test now fails when any notification -g in bin/ is followed by
an option or the message instead of a glyph.

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

* Run no repository code where the translation sync holds a token

The jobs that hold the write token applied model-generated extraction
patches and then ran the i18n test, which loads the patched shell code,
and collect did the same on the sync branch, so a malicious extraction
could read the token. Validation now runs in credential-less jobs, and
the publish and new land jobs only path-check, apply, commit, push, and
drive gh. Publish decides whether code was touched from the patch itself
rather than the extraction job's report, and a run that touched code
turns off auto-merge an earlier run may have enabled.

Also: a keybindings-only change now schedules extraction, a pruned
unit's completion record collects (and leaves the manifest) instead of
failing every language, and omarchy-i18n's dash-argument fix is tested.

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

* Turn off auto-merge before publishing extracted code

Turning it off in land left a window: publish had already pushed the
executable changes to a pull request an earlier run set to auto-merge,
and a failed collection skipped land entirely. publish-extract now turns
it off and confirms it is off before the push, failing the run instead
of publishing when it can't. Land no longer swallows a failed disable.

A pruned unit's completion record now collects whether or not the
manifest ever recorded it, since a translation contributed by hand may
never have been; a unit English still has must still be in the tree.

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

* Find only this repository's own translation sync pull request

gh pr list --head i18n-sync also matches a fork's branch of the same
name and returns the newest first, so the auto-merge guard could check a
fork's pull request while the real sync PR kept auto-merging. Both
lookups now keep only pull requests whose head is this repository.

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

* Look up the sync pull request with GitHub's exact head filter

Filtering gh pr list's results locally only saw the first page, so
enough newer fork pull requests named i18n-sync could hide the real one
and the auto-merge guard would find nothing to turn off. The REST
pulls endpoint's owner:branch filter matches exactly this repository's
branch on the server.

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

* Translate quattro's reworded navigation and hardware-authentication chapters

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

---------

Co-authored-by: Muse <noreply@muse.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The language catalogs were generated from upstream's menu, so the fork's
Face, Grok Bot, and Cursor rows were missing. Face hints and the Grok Bot
update notice go through the catalogs too. Power-profile menu strings stay
out with the provider.

Co-authored-by: Mark Groves <mark-groves@users.noreply.github.com>
@cursor
cursor Bot marked this pull request as ready for review October 14, 2026 23:15
@coderabbitai

coderabbitai Bot commented Oct 14, 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: 1eca4b67-1268-4129-95e1-81f4014e0ce2

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.

@mark-groves
mark-groves merged commit 8923540 into quattro Oct 15, 2026
3 checks passed
@mark-groves
mark-groves deleted the cursor/upstream-changes-pr-84cf 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.

7 participants