Skip to content

Keep the key that wakes a blanked lock screen out of the password - #16449

Open
bmundybot wants to merge 2881 commits into
omacom:devfrom
bmundybot:lock-wake-key-not-typed
Open

bmundybot wants to merge 2881 commits into
omacom:devfrom
bmundybot:lock-wake-key-not-typed

Conversation

@bmundybot

Copy link
Copy Markdown

A few seconds after locking, the lock screen turns the displays off. Pressing a key to wake them both wakes the display and types that character into the password field, which the user can't see yet. They then either type their password after a stray character and fail, or have to clear the field first.

The lock view already gets displaysBlank. The key handler now reads it before requesting the wake and drops the key when the display was blank. Waking with the trackpad or mouse is unchanged.

Testing: ran lock-autorepeat, lock-password-overflow, lock-blank-fingerprint and lock-fingerprint-indicator (all pass). Verified by hand on 4.0.6 with an equivalent patch: lock, wait for the display to blank, press a key → the display wakes with an empty field. Trackpad wake still works.

🤖 Generated with Claude Code

dhh and others added 30 commits October 13, 2026 21:16
* Turn on mpv hardware decoding through a system config

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

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

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

---------

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

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

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

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

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

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

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

* Watch the Fcitx profile's directories and honor FCITX_CONFIG_HOME

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

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

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

* Watch every hop of a chained Fcitx profile link

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

* Resolve the Fcitx profile path one component at a time

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

* Keep Fcitx profile watches through relink races and missing directories

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

* Resolve a relative FCITX_CONFIG_HOME before watching it

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

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

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

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

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

* Resolve a relative XDG_CONFIG_HOME against HOME and skip dot components

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

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

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

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

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

* Always watch the Fcitx profile entry itself

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

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

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

* Watch the target of a linked Fcitx profile too

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…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 <[email protected]>

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

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Each frame of the marquee redraws the bar, and it kept running while the track
was paused and while the bar was hidden. Stopped, the title reads from its
start again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…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 <[email protected]>
* Work out battery time left from the draw shown beside it

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

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

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
* 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 <[email protected]>

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

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

* 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 <[email protected]>

* 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 <[email protected]>

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

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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 <[email protected]>
…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.
A failed enrollment on a Mac's Touch ID showed how setup's output misled:
it told everyone to keep moving the finger around the sensor, which suits a
swipe sensor, and printed fprintd's raw "Enroll result: enroll-stage-passed"
lines. A press sensor needs a separate touch for each sample, fprintd sends
one stage after its duplicate check before enrollment starts, and one stage
can take several touches, so after a single touch enrollment looked under
way and timed out a minute later.

Setup now asks fprintd for the reader's scan type and, for a press sensor,
says to touch, lift and touch again until it says Enrolled. It turns each
result into an instruction: the duplicate check's stage prints nothing, each
later stage is a numbered step followed by what to do next, retries and
failures say what to do, and verify reads the same way, " (done)" and
" (not done)" suffixes included. fprintd's routine lines are hidden, but
anything else it prints, such as why it could not claim the device, is
shown, and fprintd's exit status still decides each step. sudo is
authenticated first, and named, because with fingerprint sudo set up its own
touch read as the first sample; if it fails, setup says why and stops.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The first enroll-stage-passed was always hidden, on the assumption that
it is fprintd's duplicate check. fprintd runs that check only on readers
that identify, so on any other reader the first real stage was hidden
and every later step was numbered one low.

fprintd's D-Bus interface doesn't say whether a reader identifies, but
it gives the reader's name. Touch ID ("Apple secure enclave fingerprint
sensor") identifies, and its check needs no touch while nothing is
enrolled, so its first stage stays hidden. Every other reader's first
stage counts: on one that doesn't identify it is the first enrollment
stage, and a duplicate check that took a touch is shown as step 1.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A failed verify printed its message and fell off the end with status 0;
it now exits 1 like a failed enrollment. The test now covers a failed
verify after a successful enrollment: setup fails and leaves PAM and the
lock screen alone.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…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 <[email protected]>
Co-Authored-By: Codex Medium (GPT-6.1-sol) <[email protected]>

---------

Co-authored-by: 雷电芽衣 <[email protected]>
Co-authored-by: David Heinemeier Hansson <[email protected]>
Co-authored-by: GPT-6 in Codex <[email protected]>
When busctl couldn't read the reader's scan type, setup took the swipe
branch and told a press reader to swipe its finger across the sensor to
enroll and verify. A reader fprintd can't describe is now asked to touch
or swipe.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* 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
ryanrhughes and others added 27 commits October 20, 2026 22:54
…sume-slot

Confirm a resumed drive password change's new slot before removing a key
* Switch the default kernel from Update > Kernel

When more than one kernel is installed, Update > Kernel lists them with
the boot default checked. Picking one runs omarchy-kernel set, which
authenticates once through pkexec, puts the kernel first in BOOT_ORDER in
/etc/default/limine, and rebuilds only that kernel's entry to reorder the
boot menu. omarchy-kernel and omarchy-kernel list report the default and
the installed kernels.

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

* Only notify once the new kernel is set

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

* Restore the boot order when a kernel switch fails, widen the Kernel menu

A rebuild that fails or never reaches the boot menu now puts the previous
BOOT_ORDER back, so neither omarchy-kernel get nor the next kernel update
acts on a rejected choice. A wildcard that ties several kernels no longer
picks one alphabetically: their limine.conf order decides and only root
can read it, so get reports the tie instead. Update > Kernel gets the
wide layout Fonts uses so long kernel names fit.

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

* Refuse kernel switches under Direct Boot, read commented BOOT_ORDER

Direct Boot has the firmware load one UKI without Limine, so a reordered
boot menu would change nothing; say how to turn it off instead. A
BOOT_ORDER assignment with a trailing comment now counts, as it does for
limine-entry-tool.

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

* Refuse Direct Boot for root too, put the menu back after a late failure

The Direct Boot check reads efibootmgr itself so sudo omarchy-kernel set
is refused like the menu path. A rebuild that reorders the boot menu and
then fails in a post hook now rebuilds the previous default under the
restored order, so the menu and BOOT_ORDER agree again.

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

* Title the kernel notification New default Kernel, with the kernel as body

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

* Use the Linux penguin for kernel notifications

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

* Kernel notification says Now using, and reboots when clicked

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

* Keep the kernel notification up for 30 seconds

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

* Lock kernel switches, stage the config write, roll back to the menu leader

Overlapping switches from the detached menu action could let one that
failed restore its backup over another that had succeeded, so a switch
now holds a lock from reading the old state through rollback. The new
BOOT_ORDER is staged beside /etc/default/limine and renamed over it, so a
failed write cannot delete the saved order. Rollback rebuilds the kernel
that led the boot menu before the switch, which root reads from the menu
itself, so a wildcard tie no longer leaves nothing to restore. The kernel
command gets its GROUP_DESCRIPTIONS entry.

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

* Style the kernel failure notification like the success one, retry on click

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

* Simplify omarchy-kernel

Merge the BOOT_ORDER reader into one function, write the config in place
inside the rollback instead of staging a separate file, and have get name
a kernel only when the first match is an exact name rather than counting
wildcard ties.

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: David Heinemeier Hansson <[email protected]>
Only update the disabled field when enabling an output from the Display panel. Let the existing named monitor rule retain its mode, position, and scale, and cover command generation, output escaping, action launch, and the last-display guard.

Co-authored-by: ZihaoMu <[email protected]>
…#16143)

Notify workspace modes after float patterns or tag relationships change, before the first matching window opens. Clear the hook when helpers reload and cover late rules, tag ordering, multiple workspaces, and callback lifetime.

Co-authored-by: ZihaoMu <[email protected]>
…acom#16211)

* Offer the first-run update only when there is something to update

First run sends a critical "Update System" toast as soon as the network
is up, whatever the machine has pending. On a fresh 4.5.0rc1 install
checkupdates reports nothing, the bar's update icon stays hidden because
omarchy-update-available says Omarchy is up to date, and the toast leads
to an update with nothing to do.

Send it only when omarchy-update-available finds an update (Omarchy
itself or a development checkout, the bar's signal) or checkupdates lists
any package. checkupdates exits 2 when every package is current and 1
when it could not tell; only a definite "nothing" holds the toast back,
so a failed check prompts as before.

* Check for pending updates with one checkupdates run

omarchy-update-available runs checkupdates to find Omarchy's package, and
the first-run check then ran it again for the rest. Each run syncs the
package databases over the network, so an install with nothing to update
paid for that twice before skipping the toast.

checkupdates alone covers every repository package, Omarchy's included.
omarchy-update-available is still asked when OMARCHY_PATH is a development
checkout, the one thing checkupdates cannot see. The test's stand-in for
it now runs checkupdates as the real one does, and counts the runs.

* Quote the path literal and spell out the update check

The repository style quotes string literals in [[ ]] comparisons and prefers a full if/else over an early return that skips what follows.

* Read OMARCHY_PATH as the session sets it

AGENTS.md: runtime code relies on $OMARCHY_PATH and does not default it.
…g it (omacom#14076)

* Move us to the front of a non-Latin layout list instead of duplicating it

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

* Keep a plain us in front when the list's us can't type Latin

us(rus) is Russian phonetic and us(chr) is Cherokee. Moving one of those to the front, as XKBLAYOUT=ru,us with XKBVARIANT=,rus would, leaves no Latin layout leading, so the session's keybindings and the greeter's password both stop working. Only reuse a us entry whose variant types Latin; otherwise prepend plain us as before.

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Omarchybot <[email protected]>
Co-authored-by: Codex Medium <[email protected]>
…les for agents (omacom#16229)

* Keep shell tests out of the real home's XDG directories

* Keep the session's cursor out of the startup cursor test

* Capture the remote session test frame from the first output

* Run the i18n test structurally by default, strict on request

* Skip background pixel tests while windows cover the background

* Keep shell test logs and tell agents how to avoid rerunning tests

* Tell agents when a test is worth adding
ALARM's [aur] repository serves 12 packages, and none of them is
among the 171 that Omarchy installs on a Mac (the base, aarch64 and
aarch64-apple package lists). The generic aarch64 templates dropped
it in omacom#16065; this does the same for Apple Silicon, so a Mac's
pacman.conf only names repositories Omarchy uses.

The Mac image builder (omarchy-mac-installer) refused a template
without [aur] until omacom/omarchy-mac-installer#113, so this must
land after that.
timesyncd's compiled-in fallback is 0-3.arch.pool.ntp.org, so every
Omarchy machine asks Arch's NTP Pool vendor zone for the time. A
vendor drop-in in /usr/lib/systemd/timesyncd.conf.d sets FallbackNTP to
ntp.omarchy.org, then time.cloudflare.com if that does not answer.

ntp.omarchy.org is a name we control, so where it points can change
without an Omarchy update: today a CNAME to 2.arch.pool.ntp.org (the
pool's IPv6 zone, the same servers as now), later Omarchy's own vendor
zone. FallbackNTP stays below any NTP= an admin sets and any server a
network hands out through systemd-networkd.

The drop-in lives in /usr/lib, not /etc, so a user's own drop-in in
/etc overrides it and pacman never leaves a .pacnew. omarchy-settings
installs it on both architectures (omacom/omarchy-pkgs, same change).
It takes effect when timesyncd next starts, at the next boot.
…hy.org (omacom#16240)

* Find the weather location with geo.omacom.io instead of wttr.in

With no location stored, the weather panel asked wttr.in where the
machine is twice: once for the forecast (wttr.in/?format=j1) and once
for the city's name (wttr.in/?format=%l). omarchy-weather-location
asked it again for the name.

geo.omacom.io is Omarchy's own lookup, a Cloudflare Worker that answers
from Cloudflare's view of the network in the shape of weather.json:

  {"name":"Amsterdam","latitude":52.37403,"longitude":4.88969,
   "country":"NL","timezone":"Europe/Amsterdam"}

so parseLocationFile reads it as is. The panel now asks it first and
uses its coordinates, through Model.effectiveLocation, for Open-Meteo and
wttr.in alike. The first fetch waits for the answer rather than let
wttr.in look the machine up meanwhile. If geo.omacom.io cannot be
reached, the panel falls back to wttr.in's own lookup as before. A
stored location still wins over the detected one.

In a 4.0 edge VM (a17a001, emulated), the shell's fetches after a
restart with no location stored:
  before: wttr.in/?format=j1, wttr.in/?format=%l, then Open-Meteo
  after:  geo.omacom.io, then Open-Meteo and wttr.in/52.37403,4.88969
With geo.omacom.io unreachable it fell back to wttr.in/?format=j1, and
storing and clearing a location fetched the same as before the change.

* Guess the installer's timezone with geo.omacom.io instead of tzupdate

The setup form's timezone guess ran tzupdate, which asks seven geo-IP
services at once (geoip.chrisdown.name, ipbase, ipapi.co, worldtimeapi,
reallyfreegeoip, ipwho.is, ipinfo). It now asks geo.omacom.io, Omarchy's
own lookup, for the timezone. When it cannot be reached the prompt
falls back to filtering the full list, as it already did offline, and a
timezone preset by the install media still wins.

In a 4.0 edge VM with the real curl, jq and timedatectl, the prompt
preselected Europe/Amsterdam from geo.omacom.io.

* Ask geo.omarchy.org for the location instead of geo.omacom.io

The geo Worker now answers on omarchy.org, next to Omarchy's other
services such as ntp.omarchy.org. Same Worker, same JSON. geo.omacom.io
no longer resolves.

* Show wttr.in's weather icon when Open-Meteo fails for a detected location

The panel let wttr.in fill an empty icon only when no coordinates were
known. Once geo.omarchy.org supplied coordinates for an install with no
stored location, a failed Open-Meteo fetch left the icon empty, and the
bar hides the weather widget when it has no icon.

Gate the fallback on a stored location's coordinates again, as before
geo.omarchy.org: wttr.in fills the icon until Open-Meteo answers, and
Open-Meteo's icon replaces it when it does.
…ig reads (omacom#7564)

* Make the keybindings menu's Lua bind scan safe against load-time config reads

omarchy-menu-keybindings learns about Lua-only binds by running the user's
hyprland.lua under a stub `hl` whose every lookup answers a truthy noop
table. That stub breaks as soon as a config reads compositor state at load
time, which real configs do:

- `for _, m in ipairs(hl.get_monitors())` never terminates, because noop[1],
  noop[2], ... are all non-nil. The menu exits, the `lua` child keeps
  spinning at 100% CPU under systemd --user until the next reboot. One
  such orphan ran for 27 hours on a laptop after a single SUPER+K.
- `monitor.scale <= 0` (default/hypr/qconsole.lua:64) raises "attempt to
  compare table with number", which aborts the pcall'd scan, so every bind
  declared after that file is silently missing from the menu.

The stub now answers nil for numeric indexes (so ipairs/`#` terminate),
reports length 0, and degrades comparisons, arithmetic, and concatenation
to harmless values instead of raising. The scan is also wrapped in
`timeout 10` so a config the stub still cannot satisfy can never outlive
the menu.

Adds a shell test that scans a fixture config doing exactly those
load-time reads; without the fix it hangs for the full timeout.

* Bump the keybindings cache version so existing caches are rescanned

The cache key hashes only the version, the active keymap and `hyprctl binds`, so a records file written by the scan that aborted in qconsole.lua keeps being served after this fix lands, and the menu goes on dispatching the stale default in place of the user's override until their binds happen to change.

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

* Stop a runaway config inside the bind scan instead of at the timeout

A config the stub cannot end held the menu for the full 10 s before the timeout killed the scan. An instruction-count hook now raises inside the pcall instead, after 50M instructions (about 0.3 s on a worker; the stock config uses about 69k), and the scan reports the binds it found, as it already does for one that errors part way. That result is cached like theirs: a config that runs away under the stub will almost always do so again, and rescanning would only repeat the wait. The timeout stays as the backstop for what the hook cannot reach: a loop in a coroutine, or one that catches the error and keeps going.

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

* Test that a window walk at config load leaves the menu's Lua binds intact

Runs the whole menu under a timeout with a plugin-style ipairs(hl.get_windows()) loop ahead of the stock config, and checks the Lua-only Terminal bind still resolves, which it can only do if the scan got past the loop to that bind.

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

* Run the scan test's lua with -E, as the menu does

Otherwise a LUA_INIT in the tester's environment runs ahead of the fixture, and a LUA_PATH changes what a config's require finds, either of which can fail a test the menu itself would pass.

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

* Check the bind scan finishes without a wall-clock budget

The scan tests failed if a scan took five seconds or more, which a slow or loaded machine can hit with nothing wrong. A scan that never ends is already caught without a clock: run directly, the test's timeout kills it and fails on the exit status; run through the menu, the menu's own timeout stops it before the Terminal bind the test looks for. The outer timeouts are now long enough that only a hang reaches them. The approach is omacom#15704's.

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

* Keep indexing a stub collection working while ipairs over it ends

Answering nil for every numeric index ended `ipairs(hl.get_monitors())`, but it also made `hl.get_monitors()[1].name` raise, which the scan read before this change. The scan then aborts and every bind declared after that line is lost. Make `ipairs` see the stub as empty instead, so loops still end without running their bodies against stand-in values, and indexing reads a stub again.

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

---------

Co-authored-by: omarchybot <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Codex Medium <[email protected]>
Co-authored-by: AnPod <[email protected]>
Co-authored-by: nekomario28 <[email protected]>
Co-authored-by: Dylan Kenney <[email protected]>
* Keep the menu's rows when a source file is read mid-write

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

* Give each changed menu source a fresh reread budget and treat an empty catalog as torn

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

* Simplify the torn menu read fix to keeping the last good rows

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…sign-in flow (omacom#16186)

* Drop the help line under the Open Captive Portal button

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

* Show -- for ping and packet loss until the internet is reachable

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

* Check connectivity against ping.omarchy.org instead of Arch's endpoint

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

* Keep reporting lost pings while the internet is reachable

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

* Leave the connectivity migration pending when the reload fails

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

* Pause the Tailscale exit node and re-check every 2s while signing in to a portal

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

* Hold the portal's exit node pause until online and let one click own it

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

* Move the connectivity check to ping.omacom.io, outside any HSTS scope

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

* Use the Tailscale glyph on the exit node notifications

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

* Add the Tailscale mark to the icon font and use it for Tailscale

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

* Sign in to captive portals in a floating window that closes once online

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

* Draw Omarchy icon font glyphs in notifications with the icon font

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

* Call the portal button Sign into Wi-Fi and drop the hero's sign-in line

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

* Translate the exit node notifications through the CLI catalog

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

* Read nmcli's connectivity in the C locale and close a portal window that maps late

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

* Call the portal button Sign into network, since wired portals use it too

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

* Test the connectivity check migration's NetworkManager reload

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

* Launch the portal window in the background so the sign-in wait starts at once

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

* Stop and restore the exit node when the portal window fails to open

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

* Keep a freshly started browser's failure visible to the sign-in command

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…esn't have (omacom#16272)

* Battery notification says Fully charged and leaves out readings it doesn't have

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

* Treat a negative power reading as a live draw, not idle

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…e shell (omacom#7623)

* tailscale: survive huge tailnets by virtualizing the machine list

On a corporate tailnet with ~3,900 machines the tailscale widget makes the
shell unusable: `tailscale status --json` is ~4.6MB, and every 30s poll
reassigns `peers`, rebuilding one eager row per peer - each with its own
copy-menu Popup - on every bar. That is ~500k QML object creations per
refresh: ~4.6s of shell CPU per poll, ~15% average CPU, multi-second
main-thread stalls, and delegate trees that ratchet RSS into the gigabytes
over a workday.

Rebuild the hot paths so tailnet size stops mattering:

- Render machines through a clipped, virtualized ListView (reuseItems)
  instead of a Repeater in a Column, so only the visible rows exist.
- Add a search field over the machines (`/` focuses it, Escape clears),
  with the match count in the section header - a 4k-row list is not
  scrollable without one.
- Share one copy-menu Popup across rows instead of instantiating one per
  peer.
- Only reassign peers/exitNodes/mullvadRegions when their content actually
  changed, so an unchanged poll rebuilds nothing.
- Poll with --peers=false (~3KB) while the panel is closed; fetch the full
  peer list on panel open and explicit refresh.

Measured on a 3,933-peer tailnet with two bars: a full refresh drops from
~4.6s of shell CPU (plus ~7MB retained) to ~0.17s, steady state from ~15%
average CPU to under 1%, and RSS holds at ~520MB instead of climbing past
7GB. Keyboard navigation, the copy menu, taildrop send, and small-tailnet
behavior are unchanged; the cursor and copy actions operate on the filtered
list.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Queue full-peer fetches behind in-flight light polls; reset shared copy cursor

Review follow-ups: a full-peer request that arrived while a --peers=false
poll was still running was silently dropped, leaving a freshly opened panel
stale for up to a whole refresh interval - remember it and launch the full
fetch when the light process exits. And the shared copy menu kept the cursor
position from the previous machine's menu, so Enter could copy an unexpected
field - reset it whenever the menu opens for a different peer.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Keep the machine list still under background polls; fix search-field edges

Review follow-ups. Qt resets contentY whenever a JS-array model is
reassigned, and on a large tailnet any poll where a peer changed publishes
a new array - so the machine list scrolled itself to the top under the
user's finger, roughly every refresh while the panel was open. Remember
the position the user (or keyboard cursor) chose and restore it on model
change; filter changes and panel opens reset it explicitly.

Also: clear the search query when its field disappears (small-tailnet
account switch) or the panel closes, so an invisible filter cannot hide
machines; make showPeers filter-aware so the keyboard cursor cannot enter
a section that renders nothing; consume Up in the search field instead of
letting it move the section cursor; show "Loading machines" rather than
"No machines found on this tailnet." before the first full peer fetch has
answered; and publish mullvadExitNodes unconditionally so it cannot go
stale behind the regions signature guard.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Clear peersLoaded when the tailnet goes down

peersLoaded was set on every full status parse and only ever cleared by resetUnavailable, which a normal stop/start never reaches: `tailscale down` parses fine and exits zero, so it lands in the light-poll branch that clears peers and leaves the flag set. Stop Tailscale, start it again while the panel is closed so only light polls observe the transition, and the next open has peers empty with peersLoaded still true — the panel then states "No machines found on this tailnet." for the whole of the full fetch, which is the claim peersLoaded was added to avoid.

Tie the flag to what it names instead: a full poll sets it only when the tailnet is actually running, and the light-poll branch that clears peers clears it too.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Co-Authored-By: Codex XHigh <[email protected]>

* Scope the remembered scroll position to its account

rememberedY was reset on panel open, filter changes and explicit
positioning, but survived the peer set becoming a different tailnet:
scroll deep into a 4000-machine account, switch away and back, and the
list restores a position in a machine list the user has never seen.
Reset it (and the peer cursor) when selectedAccountId changes, so an
account switch starts at the top the way it did before the scroll fix.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Keep a failed account poll from resetting the machine list

`tailscale switch --list --json` publishes an empty selected id on any non-zero exit — including when `pollWatchdog` reaps it — while the user is still on the same tailnet, and the recovery poll then publishes the id back. Reading either edge as an account switch scrolled a hand-scrolled list to the top, which is the scroll loss this branch exists to prevent arriving through a different signal. Compare against the last account actually seen instead, so only a move between two real tailnets resets.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

---------

Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Omabot <[email protected]>
Co-authored-by: Codex XHigh <[email protected]>
…com#16276)

omacom#7564 made the stub answer every index so that `hl.get_monitors()[1].name` keeps reading, but that also means `while monitors[i] do i = i + 1 end` never finds a nil. The instruction limit stops it, and every bind declared after the loop is lost. Answer indexes 1 and 0 with the stub and every other number with nil: the first element and `list[#list]` (0, since the stub's length is 0) still read, a walk by index ends after a step, and `ipairs` still sees the collection as empty. The cache version moves to v19 so scans truncated by such a loop are redone.

Co-authored-by: omarchybot <[email protected]>
Co-authored-by: Codex Medium <[email protected]>
Co-authored-by: muse-spark-1.3-contributor <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
* Keep the fcitx5 unit inert when fcitx5 isn't installed

fcitx5 is in omarchy-base.packages, but a trimmed or derived image can
ship the unit without the binary, and first-run/enable-user-units.sh
enables this unit unconditionally either way. With Restart=always and
RestartSec=2, that install spends its whole session failing at
203/EXEC twice a second.

On the aarch64 image I found this on, the unit had restarted 20,943
times in one session and accounted for 105,828 journal lines, which is
most of what the log contains.

enable-user-units.sh already says ConditionPath* in the unit files is
what keeps an enabled unit inert where it does not apply, and
omarchy-tailscale-receive.service guards its binary exactly this way.
This unit was missing its half of that.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01ALLhsWEVznJX5Js4CM59ZV

* Assert the fcitx5 binary guard and correct its stated retry rate

Removing ConditionPathExists=/usr/bin/fcitx5 left every existing fcitx5 assertion in systemd-test.sh passing, so the restart loop could come back unnoticed. The comment said the unit fails twice a second; RestartSec=2 makes it once every two seconds, which is what a worker without the binary showed (13 restarts in 30s).

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

---------

Co-authored-by: Ruslan Kharitonov <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Co-authored-by: Omarchybot <[email protected]>
Co-authored-by: Codex Medium <[email protected]>
* Span the notification menu across the card with even padding

The snooze menu and More list sat in the text column, indented under the
title and flush against the bottom edge. Draw the action area below the whole
content block, with the card's side padding underneath.

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

* Refresh the notification clock when cards come back on screen

The clock only ticks while toasts are showing, so replayed history read every
card against the moment the last toast left and called them all "now".

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

* Clear only the shipped engine's notification leftovers at startup

The live/, icons/, reply-demo/, policy.json and icon-cache cleanup was for
files written by drafts of the Omapager PR that never shipped.

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

* Drop phone and meeting detection from notifications

Cards offered Copy number for phone-shaped text and relabelled meeting links
as Join. Links still get Open link; codes still get Copy code.

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

* Drop the notification modes that route cards away from fullscreen

all-away and steam-away sent new cards to another display, or held them in
Recent, rather than stepping aside. A saved -away value now reads as the
default, all.

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

* Show a notification's age only once it is five minutes old

A fresh card said "now", which told you nothing the card arriving had not.

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

* Let a notification's link be clicked in its text instead of a button

The Open link button and its headline mark repeated a link the body already
draws, underlined and clickable.

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

* Draw notification bodies once, as StyledText, so every link stays clickable

The body was drawn as RichText, with a plain-text copy for bodies over the
line cap because RichText cannot elide. Links in that copy could not be
clicked. StyledText covers Markup's tags, elides, and colours links itself.
Bare URLs are also linked beside formatting now, unless the sender wrote its
own anchors.

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

* Copy a notification's code directly rather than through offers

With the link and phone buttons gone, a card's only offer is its code. The
offerTaken/takeOffer plumbing and the offer <kind> IPC call become copyCode.

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

* Describe the notification demo's interactive scene without phone offers

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

---------

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

Show/Hide Battery Percentage clipped in the menu, so it is now Battery %,
and the idle toggle reads Stay Awake / Allow Sleep instead of Stay Awake
On / Off.

Co-authored-by: Claude Opus 5.5 <[email protected]>
…ooze on one line (omacom#16296)

* Recognise Brave Origin as a browser in notifications

* Put the toast snooze menu on one line and drop Do Not Disturb from it

* Remove notification options nobody needs

* Add a snooze button beside the close mark

* Remove notification IPC methods nothing calls

* Stop offering to copy phone numbers from notifications

* Wrap notification buttons instead of folding extras under More

* Drop the notification icon override folder

* Clear older notification layouts by migration, not at every startup

* Make the notification demo one run that shows everything

* Drop notification tests that restate the code

* Drop the Mark as read button no real sender here sends

* Drop an unused notification property and stale doc lines
…red title (omacom#16301)

* Start the Taildrop receiver after the session environment is imported

It started before UWSM imported OMARCHY_PATH, so omarchy-i18n failed and
every incoming file was announced with an empty title and body.

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

* Shorten the Taildrop save location to ~ again

An unquoted ~ in the replacement re-expands to HOME, so notifications read
"Saved to /home/me/Downloads" instead of "Saved to ~/Downloads".

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

* Preview received Taildrop images in their notification

Taildrop only accepts files from your own devices, and the shell already
decodes notification images from every other app, so a received screenshot
shows itself again instead of a bare glyph. Other files keep the send glyph.

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

* Keep critical notification titles in the normal text colour

Critical titles turned red, which reads as an error for things that merely
wait to be dismissed, like a received file. The title is already bold.

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

* Keep the send glyph under Taildrop image previews

Omarchy's own cards get no letter fallback, so an image that fails to load
left the card with no mark at all. The shell already shows a loaded image
ahead of the glyph.

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

---------

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

* Leave the indicator peek shut while hovering right of the clock

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

* Hold the indicator peek's edge still while the peek is open

Beside a display notch, indicators right of the clock pull the center box's
end toward the start as they reveal, which closed the peek under a still
pointer and reopened it in a loop. Move the hover rule into BarModel so the
bar test exercises it at both sides of the edge.

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
omacom#16306)

* Show and dismiss notifications instantly instead of sliding and fading

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

* Keep notification arrivals and departures instant all the way through

Late height changes on a new card, the next card's text taking the front,
and clearing several cards now jump too. Departure drops the fade-era
resting placement, so a leaving card is hidden and takes no input, and its
deferred removal no longer cuts short an unrelated animation.

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

---------

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

* ✨ feat(region): seed offline chinese input

- ✨ make first-login pinyin available without downloads
- ⌨️ preserve compose and terminal prefix shortcuts

Amp-Thread-ID: https://ampcode.com/threads/T-01a0df38-0ea7-759b-bcff-29da223cc567
Co-authored-by: Amp <[email protected]>

* ✨ feat(pacman): preserve regional defaults

- ✨ share regional repository generation across install and refresh
- 🛡️ reject invalid profiles before replacing configuration

Amp-Thread-ID: T-01a0df38-0ea7-759b-bcff-29da223cc567

* ✅ test(region): guard runtime defaults

- ✅ protect global behavior and regional mirror ordering
- ⌨️ guard personal settings and reserved input shortcuts

Amp-Thread-ID: T-01a0df38-0ea7-759b-bcff-29da223cc567

* 📝 docs(region): explain china bootstrap choices

- 📝 clarify optional defaults, trust requirements, and opt-out behavior
- ⚠️ document snapshot compatibility and release validation limits

Amp-Thread-ID: T-01a0df38-0ea7-759b-bcff-29da223cc567

* 🐛 fix(channel): keep regional repos when switching to dev

- 🛡️ refuse a dev checkout that lacks this machine's region profile before linking it, since its own refresh would silently replace the regional pacman files
- ✅ isolate channel tests from the host region marker

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

* 🐛 fix(pacman): keep existing config file modes

- 🐛 refresh used to copy over the existing files, so a customized mode must survive the shared regional applicator too

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

* 📝 docs(region): drop the unreachable menu input gate

- 📝 the menu bypasses the input method, so requiring Pinyin there made the release procedure impossible until upstream fixes it
- 📝 record the required `skel` profile and the dev-switch region check

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

* ♻️ refactor(pacman): render regional config without root

- 🔒 upstream refresh now gives root only command-scoped copies, so regional files are rendered as the caller and installed with the same four `sudo cp` calls
- ✅ exercise refresh only inside the sudo-boundary sandbox; the old host-level test reached real sudo once refresh pinned its PATH

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

* 📝 docs(plans): move the china proposal to a discussion

- 📝 upstream plans are implementation plans; the open questions belong in the discussion that links these changes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01K3Jna1ogUUviYLJzhsG6Vr

* 🔥 refactor(region): drop input defaults from the cn profile

- 🔥 keep this change to the regional build architecture; Chinese input gets its own proposal instead of fixing one engine here
- ✅ assert the shipped profile adds only its repository keyring

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01K3Jna1ogUUviYLJzhsG6Vr

* 📝 docs(region): scope the cn profile to repositories

- 📝 frame USTC and ArchLinuxCN as a bridge until an official China mirror exists
- 📝 record that language, timezone, and input defaults follow as separate changes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01K3Jna1ogUUviYLJzhsG6Vr

* 🐛 fix(pacman): remove the render dir on every refresh exit

- 🐛 a failed render, a refused sudo prompt, or a signal left the scratch directory behind; repeated attempts piled them up
- 🔒 the cleanup runs before the sudo revocation, which stays the last step of the exit path

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdXqTwm63rRMwotZ1xqLC8

* 🐛 fix(channel): require a usable region profile for dev

- 🐛 an empty profile directory or a helper that cannot run passed the guard, linked dev, and then broke the refresh
- ✅ the success case now uses a complete profile

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdXqTwm63rRMwotZ1xqLC8

* ✅ test(pacman): isolate the regional refresh boundary test

- ✅ the render read the host's region marker, so a global machine never rendered China and a China machine failed on missing fragments
- ✅ check the finished China files root installs, not only the copy order

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdXqTwm63rRMwotZ1xqLC8

* ✅ test(pacman): sandbox the region for every boundary test

- ✅ The channel and update boundary tests copied the real render and dev-region guard, so on a China install they read the host's `/etc/omarchy/region` and failed before reaching their checks
- ♻️ The shared fixture now points both lookups at a sandbox target that starts global, and the regional test only writes `cn` there

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdXqTwm63rRMwotZ1xqLC8

* ✨ feat(region): map timezones to regions

- ✨ one iso serves every region, so the installer derives it from the timezone the user already picks
- ✅ reject unknown zones and zones claimed by two regions

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* 📝 docs(region): describe timezone-derived regions

- 📝 the --region build flag is gone, so the installer contract and validation plan change with it

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* ✨ feat(region): put the china channel mirrors first

- ✨ omarchy now runs per-channel china replicas, so they should lead instead of trailing as a fallback
- ♻️ prepend per-channel fragments so each channel's own mirror stays the fallback
- 🔥 drop the ustc arch mirror, which was never a stable or rc snapshot replica

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* 📝 docs(region): explain mirror order and fallback

- 📝 pacman's three-error skip and first-server databases decide what the china replicas must serve

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* 🐛 fix(channel): require every region fragment for dev

- 🐛 leaving dev refreshes stable or rc with the checkout's tools, so a profile missing those fragments would drop regional repositories
- ✅ refuse a profile missing any single fragment

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* ✅ test(region): derive china zones from tzdata

- ✅ dropping a backward-compatible zone name from the profile now fails the test

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* ♻️ refactor(pacman): branch on render with if/else

- ♻️ follow the repo style instead of exiting early to skip the install block

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* 📝 docs(region): state marker mode and archlinuxcn risk

- 📝 refresh reads the marker unprivileged, and rolling archlinuxcn packages can outpace stable snapshots

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* 📝 docs(region): scope the refresh render boundary

- 📝 state that same-user code is outside the refresh boundary, so reviewers see the trade-off was deliberate

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* 🐛 fix(test): skip exact zone match without tzdata.zi

- 🐛 minimal containers lack the link table, so the exact china zone check failed on a correct profile

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* ✅ test(region): pin the platform in region tests

- ✅ tests no longer depend on the host's hardware, so they pass on ARM dev machines and the incomplete-profile case fails on the missing fragment, not the missing platform helper
- 📝 profiles add x86 repositories only, so ARM machines keep their own templates in a region

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

* ✅ test(pacman): follow finalization into `omarchy-apply-pacman`

- ✅ finalization and refresh now restore templates through the apply command, so the template and deferred-hardware fixtures redirect its target etc instead of the post-install script's, and the refresh expects the unprivileged render
- ♻️ the apply command asks `omarchy-hw-platform` from PATH like its callers, so the fixtures' platform stubs reach it

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

* Expect the rendered refresh in quattro's newer channel tests

Two quattro changes postdate the region series. omacom#15903 keeps a refresh
on the machine's own channel and tests it by the template root copies
into /etc; with the renderer, root copies the rendered file, so those
checks now look for the template in the render step. omacom#16065 gave
aarch64 stable and rc, so the region test no longer expects aarch64 to
reject them: it applies every channel a platform has templates for and
expects the rest to be refused.

* Point China installs at Omarchy's China mirrors only, with no new repository

The China profile added ArchLinuxCN from USTC and its keyring. Nothing installed or updated needs that repository, and pacman trusts a populated keyring for every repository, so its packagers' keys would have been able to sign packages for [core] and [omarchy] on every China machine; it is also rolling while stable and rc are snapshots. It is gone, with the keyring package.

What China installs need is the same packages from closer servers. Besides the channel's Arch mirror on omarchy.cn, the [omarchy] repository now lists pkgs.omarchy.cn/<channel> first, the China replica of pkgs.omarchy.org, which carries the largest downloads. Both replicas serve the same signed packages, .org stays the fallback, and global installs are byte for byte unchanged.

A test pins Hong Kong, Macau and Taiwan, under every tzdata name, to no region. Existing installs stay global; the doc gives the two commands to opt in.

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

* Find the rendered files from root's copy in the regional refresh test

The China render now writes pacman.conf with awk rather than copying the template, so the test reads the rendered directory from root's copy instead.

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

* Check the China profile's mirrors, not its exact file list

The region test listed every file in default/regions/cn, so adding any
unrelated file to the profile failed it. What the test is for is that
the profile adds no repository and no key: every fragment is a Server
line for an omarchy.cn mirror. Keep that check and drop the list.

* Give the stale -dev build test the pacman renderer

The refresh now renders pacman's files with omarchy-apply-pacman. This
test, added to quattro after the region series began (omacom#15903), builds
its own sandbox and did not have the renderer, so its refresh failed
before reaching the switch it tests.

---------

Co-authored-by: Kros Dai <[email protected]>
Co-authored-by: Amp <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Omarchybot <[email protected]>
@greptile-apps

greptile-apps Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Low impact] The change reaches keyboard input on the lock screen.

Fix the stale blank flag before merging so a visible lock screen does not discard password input.

Summary

The head commit reads displaysBlank before waking the displays and consumes the key when that flag is set.

  • A key that wakes a blank lock screen does not enter the password.

Reviews (1) · Last reviewed commit: "Keep the key that wakes a blanked lock s..." · Reviewed by Greptile

@omarchybot

Copy link
Copy Markdown
Collaborator

Thanks for this, @bmundybot. I read the change against the code it would actually land on and got a second opinion from Codex Medium. Nothing was run, on a worker or anywhere else, because this item stopped at classification.

Where it lands. The PR targets dev, but its branch is one commit on top of quattro, and dev has no shell/plugins/lock at all. So the default branch, quattro, is where it would go.

On current quattro the change does nothing. #15289 ("Show a video wallpaper's still frame on the lock screen instead of playing it") removed displaysBlank from LockView.qml and from the binding in Service.qml. With the commit merged, root.displaysBlank is undefined, so wasBlank is never true and every key behaves as it does today. Git merges it without a conflict, but it is inert. A working version would have to bring the blank state back, for example by setting a flag in runBlank()/runWake() in Service.qml and passing it to the view.

The behaviour you describe is real on quattro. idleBlankTimer blanks the displays 5 seconds after the last input. A printable key then calls wakeRequested() and isn't consumed, so the same key that wakes the screen also goes into the field.

Dropping that key also changes something people may rely on. Today you can start typing your password into a dark screen and keep the first character. Because the field and the entered password survive a blank, you can also pause mid-password for longer than 5 seconds and carry on. With a working guard, the first key in both cases would be silently dropped. Which behaviour the lock should have is a product decision.

Classification is unsettled. I read this as a bug fix (a stray character in the password). Codex read it as an enhancement (deliberately changing what the wake key does). Since the two classifications disagree, it gets no label, and it is waiting on the maintainer to decide whether the wake key should be dropped at all. If it should, the blank state needs restoring on quattro first, as described above.

Codex agreed with each point here when given the same questions. It read the same tree, and its independence from this review isn't guaranteed.

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.