Skip to content

Backport 46 bug fixes from quattro to v4-5-1 - #19202

Merged
ryanrhughes merged 47 commits into
v4-5-1from
backport/v4-5-1-quattro-fixes
Nov 17, 2026
Merged

ryanrhughes merged 47 commits into
v4-5-1from
backport/v4-5-1-quattro-fixes

Conversation

@ryanrhughes

Copy link
Copy Markdown
Collaborator

Backports 46 bug fixes that landed on quattro, plus #19096, which fixes races in tests three of them add. Each is a git cherry-pick -x of its quattro commit, so merge this with a merge commit or rebase, not squash, to keep the cherry picked from lines.

Fixes

Updates and install

Shell, bar and panels

Network

Startup, display and GPU

Capture

Commands

Tests

Conflicts

Not in this batch

Testing

./test/all fails the same files on this branch as on v4-5-1 (21 each), all from this machine missing magick, socat, ffmpeg or a Wayland session. Only typing-setup-test.sh differed: #18815 calls omarchy-i18n, and the test needs Omarchy's bin/ on PATH. It fails the same way on quattro, and passes 5 of 5 with bin/ on PATH. Not checked live on a 4.5 desktop.

yacobmole and others added 30 commits November 16, 2026 23:51
…las (#18091)

* Show Wi-Fi bars that agree across NetworkManager's two strength formulas

NetworkManager maps dBm to its 0-100 strength one way for scan results
(-100..-40 dBm linear) and another for the connected access point's
station refresh (dBm + 120). A -50 dBm link reads 83 after a scan and 70
between scans, so the 20% buckets showed 3/4 bars on a strong link and
flipped as the two readings alternated. Pick cut-offs where both formulas
land on the same bars: full from -60 dBm, three from -70, two from about
-80, one down to about -90.

Fixes #16527

* Narrow the two-bar Wi-Fi band where NetworkManager's formulas disagree

At a steady -82 dBm the station formula reads 38 and scan results read
30, which the 35 cut-off split into two bars and one. A cut-off of 40
moves that band to -77..-80 dBm, about as narrow as the others.

(cherry picked from commit 9305a18)
* Refetch weather and update status when the network comes online

Both bar widgets fetched once at startup and then waited out their timers
(15 minutes for weather, six hours for updates), so a slow Wi-Fi join at
boot or wake left the weather blank and the update icon hidden. They now
refetch when NetworkManager's connectivity turns Full.

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

* Queue an update recheck requested while a check is running

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 7bec2a5)
* Add new plugins without reloading the ones already running

A rescan tore down every panel and every service that isn't keepLoaded,
even when all it found was a new plugin. On a fresh install's first
login, Superwhisper's setup links its panel into the plugins folder and
asks for a rescan, so a few seconds in the menu and any open panel
closed and the wallpaper went black until the services came back.

rescanPlugins now scans first and lets the syncs add what appeared. It
falls back to the full reload only when a plugin the shell already had
changed its manifest or went away. The plugin watcher still fully
reloads when a loaded plugin's files change. omarchy-plugin-update, whose
updates can keep a plugin's manifest, asks for the full reload through
a new reloadPlugins IPC.

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

* Keep queued rescans gentle and match watched folders to their plugins

A rescan asked for while another scan ran was queued as a full reload,
which closed panels after all. Queue it as a rescan instead.

The plugin watcher names a plugin by its folder, but installedPlugins is
keyed by manifest id, and the two can differ (Superwhisper's
superwhisper-panel folder holds superwhisper.panel). Match the folder
against each plugin's source dir, so an edit to a loaded plugin still
takes the full reload.

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

* Drop the manifest comparison from plugin rescans

The syncs after a scan already add, update and drop plugins in place, so
comparing manifests to decide on a full reload was redundant. Fresh code
still comes through the full reload, which the watcher uses for a loaded
plugin's edits and omarchy-plugin-update asks for.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 60bf28e)
…16382)

The icon index keeps the first file it sees per name, and PNGs reached it in find's directory order, so an app that ships only PNGs in several sizes, as Steam does for every game, got an arbitrary size: often 32x32 or 24x24, upscaled and blurry in the menu and the dock. Within each icon directory, PNGs now go largest size first; SVGs still come first and a user's icon directory still wins over the system's.

Fixes #16043

Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit cbd0029)
#18349)

* Collapse identical notifications arriving together into one card again

A web app open in several tabs fires one notification per tab for a
single reminder: a HEY calendar reminder arrived from Chromium twice,
12 ms apart, under ids 9 and 10, and stayed on screen as two identical
critical cards.

#13522 collapsed these, but the check went out with the old engine when
the notification engine was replaced (4671ae2), and the new one never
gained it.

A new notification that repeats a live card word for word within two
seconds now takes over that card's slot, the way a replaces_id update
does: one card, one history entry, and the superseded copy is closed at
its sender. Same means the same app, source, headline, text, click
command and buttons. The picture is not compared, since Chromium hands
each copy its own temporary file; the click command is, since every
screenshot toast shares its text but opens a different file. The same
words after the window are a second message, and a card on its way out
is not brought back by a copy of itself.

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

* Keep unnamed toasts in their own decks and different buttons on their own cards

Two regressions in the duplicate collapse, both found in review.

The row was snapshotted before its key was chosen, so an omarchy-action
or notify-send toast, which is grouped by its own key, got the group
"toast:" with no key: unrelated notices fell into one deck, the newest
hiding the rest. The group is rebuilt once the key is known.

The match compared Omarchy's command hints but not the sender's own
actions, so the same words offering Reply and then Join merged, and the
first button was lost with its sender. A copy now has to offer the same
buttons as the card it repeats.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
(cherry picked from commit 255acd9)
Start the autostarted herdr server in its own session

(cherry picked from commit 54abf72)
omarchy-update-keyring fetched Arch Linux ARM's build key from
keyserver.ubuntu.com when an aarch64 machine lacked archlinuxarm-keyring.
It runs under set -e as a step of omarchy update, so a failed fetch
stops the update, and on 11 November 2026 Canonical's keyserver went
down. keys.openpgp.org does not carry that key.

The key now ships with Omarchy in default/pacman/keys/, taken from Arch
Linux ARM's own archlinuxarm-keyring source. It is the only key there,
it never expires, and it is added with pacman-key --add and the pinned
fingerprint signed.

Omarchy's own packaging key came from keys.openpgp.org. It now comes
from Omarchy's Web Key Directory for pkgs@omarchy.org, so it carries the
current subkeys, and only the pinned fingerprint is added.

(cherry picked from commit 7c47964)
* Keep Wi-Fi rows in step with NetworkManager

The rows are primitive snapshots, rebuilt only when the list of networks changes, when the panel opens, or when one of its own actions completes. A listed network that connects, drops, is saved or is forgotten by anything else -- autoconnect, nmcli, another settings tool -- changes state without changing the list, so the rows kept showing the old state until the panel was reopened: a dropped network still "Connected", a connected one under Other Networks, a saved one asking for its password, a forgotten one under Known Networks.

The panel now binds a key over every listed network's state at the root and rebuilds the rows when it changes. Bound at the root, it also sees networks that have no delegate, so it replaces the per-row completion handlers, which missed rows scrolled out of view and everything while the panel was closed. The rebuild leaves identical rows in place, since a new model takes focus from a passphrase being typed, and keeps the cursor on its network through the re-sort. An action whose outcome already holds settles at once, where it used to wait for a change that never came and time out.

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

* Track the enterprise reconnect, and follow a hidden row

The immediate settle exists because Quickshell ignores connect() on a connected network and disconnect() on a disconnected one, so those calls can never signal. The enterprise script is different: it creates a profile and brings it up even when the network is already connected, so settling at once would drop its busy state and the failure it may report.

The cursor marked "no row" with "", which is also a hidden network's SSID, so a selected hidden row was left behind when the list re-sorted. It now uses null.

The fixture now drives a disconnect that completes only once stateChanging clears, which is the only thing keeping stateChanging in the key, and checks the in-flight connect is the one it started.

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

* Drop a failed connect's reason once NetworkManager connects that network

A panel connect that fails or times out leaves its reason on the row. When NetworkManager later connects that network on its own -- the access point comes back, the radio returns -- no action is in flight, so nothing cleared it, and the row read "Timed out connecting" or "Network lost" under a connected header. checkActionCompletion now drops the failure once the network that failed reports connected, before its in-flight guard, and only for a failed connect, since a timed-out disconnect leaves the network connected. The root state key makes it run whenever that network's connected flag changes.

This is the fix proposed in #15367.

Co-Authored-By: Alexander Holbreich <16252784+aholbreich@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Settle before acting, and clear a failure only once its network settles

An action whose network is already in the asked-for state now settles before its call is made instead of after. For connect(), connectWithPsk() and disconnect() nothing changes, since Quickshell ignores those calls then. For the enterprise script it does: it creates a profile and brings it up, so started against a live connection it would run untracked once the next rebuild saw the old link still connected, and a failure of it would be erased by that same link.

The failure clear now waits for the network to stop changing state, as the disconnect and forget checks already do, so a connection that is still coming up and then fails does not take the explanation with it. It also closes a passphrase reprompt opened for that network, which would otherwise sit open over a connected row.

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

* Close only the completed network's passphrase prompt

A connect that settles closed whatever prompt was open. Now that a connect to an already-connected network settles before anything is asked, a stale row clicked while another network's prompt is open would throw away the passphrase being typed there.

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

* Close a passphrase prompt once its network connects, error or not

The prompt was closed only from the failure clear, which needs the failure text. The row's failureTimer clears that text two seconds into a reprompt, so a reconnect after that left the prompt open over the connected network, as did one with no failure behind it at all. A prompt only opens for a network that is not connected, so once that network is connected and settled there is nothing left to ask.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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>
Co-authored-by: Muse Wonder High <noreply@meta.com>
Co-authored-by: Alexander Holbreich <16252784+aholbreich@users.noreply.github.com>
(cherry picked from commit 8b6ce31)
* Wait out NetworkManager's passing Limited state on connect

Every fresh link is reported as Limited until NetworkManager's first
connectivity probe answers, so switching networks flashed the red
limited internet access warning in the panel and bar for a moment.

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

* Check the Limited wait restarts after a warning has shown

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
(cherry picked from commit 9eb4d22)
The test checked the update lock once, right after gum died, while the
update launcher holding it could still be on its way out, so it failed most
runs on quattro and in CI with BlockingIOError. It now waits for the lock the
way it already waits for gum and the launcher, up to its 10s deadline.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit ab1e100)
* Fix omarchy-theme-bg-current dropping trailing newline

The extension-strip pattern [^.]+ consumed the newline basename adds, so the humanised name was printed without a terminator and the next prompt or output ran onto the same line. Excluding \n from the character class leaves the newline intact.

* Test that omarchy-theme-bg-current ends its line

The check reads the raw output with a marker appended, since $(...) strips the trailing newline the fix restores, so it fails without the fix.

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

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit 61d7530)
Add a *) default arm to the case in omarchy-snapshot so any word other than create or restore prints the Usage message to stderr and exits 1, matching the existing empty-argument check. Previously a bash case with no matching pattern returned 0, so bogus, restoree, and other typos silently succeeded via both the omarchy dispatcher and direct invocation without creating or restoring a snapshot.

(cherry picked from commit dd0de87)
Guard copy_history_entry() in omarchy-clipboard-paste-text with a
[[ -r $history_path ]] check, mirroring omarchy-clipboard-open, so a
missing history file (legitimate before the first capture) exits
silently instead of leaking jq's "Could not open file" error to the
terminal. Covers plain, --shift-insert, and --copy-only history paste.

(cherry picked from commit 41cb643)
* Fix swarm layouts dropping multi-word commands

tsl() and hsl() captured only $2 as the command, discarding $3 onwards, so unquoted commands like `sleep 30` ran as just `sleep`. Shift off the pane count and join the remaining arguments into cmd so the full command is sent to every pane.

* Keep argument quoting in swarm layout commands

Joining the arguments with $* lost their boundaries, so tsl 3 tail -f "/tmp/server log"
sent tail -f /tmp/server log to every pane. When the command comes as several
arguments, shell-quote each one before joining. A single argument is still sent
as written, so tsl 3 'cmd args' keeps working.

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

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit aed3b57)
tdlm typed `cd '<folder>' && tdl $ai $ai2` into the first window and
`tdl $ai $ai2` into the others, for that pane's bash to parse again. An
apostrophe in the first folder's name ended the quote early and left
bash waiting for the closing one, so that window never got its layout,
and an agent command with spaces was split into a first and a second
agent. Build the line with printf %q, as hdlm already does.

Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit 0f15210)
* Open no editor when eff's file picker is cancelled

Pressing Escape in eff's fuzzy picker picks nothing, but eff still ran $EDITOR with an empty file name, and Neovim opened the current folder in netrw. eff now checks the pick before opening it, as sff on the next line already does.

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

* Drop eff's old alias and pass its arguments to the editor

A terminal opened before eff became a function still has the alias, so
re-sourcing ~/.bashrc expanded it inside the function definition and
stopped the aliases file at a syntax error. Remove the alias first.

The alias also passed any extra words on to the editor, as in eff +42;
the function now does the same.

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

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit 25724bb)
* Exit 1 when a required-argument command is run bare

The dispatcher intercepted a bare invocation of a command that
declares required arguments, printed its help, and returned 0,
reporting success for a command that never ran, unlike the binary
itself which exits 1. Return 1 for that command-help case in both
dispatch_fast_or_help and dispatch_or_help, while a bare group
name still shows group help and returns 0.

* Expect exit 1 from a bare required-argument command in test/cli

The CLI suite still expected bare `omarchy share` and `omarchy menu share` to succeed, so under set -e the new exit status stopped it before the help checks. Capture the status of both and assert it is 1, keeping the usage text checks.

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

* Document that a bare required-argument command exits 1

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

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 84c4c55)
* Quit the running ChatGPT app before removing it

The ChatGPT desktop app rewrites ~/.config/Codex for as long as it runs, so removing the package and deleting the directory while it is open left the app running and the directory recreated within the same second, even though the removal claimed success. Quit it first with `pkill -x chatgpt || true`, matching the Claude and Amp removers, before dropping the package and deleting its config and cache.

* Quit ChatGPT by the name it runs under

The /usr/bin/chatgpt launcher execs /usr/lib/chatgpt/ChatGPT, so the running process is named ChatGPT, and pkill -x matches case-sensitively: `pkill -x chatgpt` found nothing and the app kept rewriting ~/.config/Codex after the removal.

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

---------

Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit e5fb78a)
* Handle -h/--help in omarchy-tailscale-send before using $1 as machine

Direct invocation as `omarchy-tailscale-send --help` or `-h` treated the flag as the machine name and opened the file picker titled "Send to --help"/"Send to -h". Add a check matching other bin/ scripts that prints `Usage: omarchy-tailscale-send <machine> [file...]` and exits 0 before the machine assignment, so no picker opens.

* Test that omarchy-tailscale-send -h and --help print usage

Run the command directly with each flag and check it succeeds, prints its usage line and never opens the file picker. Before the fix the flag was taken as the machine name and the picker opened.

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

* Drop the standalone tailscale-send help test

A five-line usage guard copied from omarchy-plugin-enable does not warrant a new test file with a stubbed picker; AGENTS.md asks for no new test file for a small change.

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

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 3b717fa)
* Translate typing setup error bodies via i18n

The keyboard and input-method pickers showed Danish titles with English bodies because their errors were hard-coded English with no catalog keys. Add catalog entries for the empty-layout, missing-engine and personal-override errors and resolve them through omarchy-i18n where each error is raised, with an English fallback, so the shared handler notifies entirely in the current language.

* Leave the Danish typing setup strings to the translation sync

Pull requests only add the English side of a string. Drop the three Danish
entries added by hand; the translation sync workflow adds them from the
English catalog.

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

* Look typing setup errors up through omarchy-i18n without English fallbacks

omarchy-i18n already falls back to the English catalog, and main() calls it with check=True right after to translate the title, so a second English copy of each string could never rescue a notification. The uninstalled-engine test now mocks only omarchy-pkg-present, so its message comes through the real catalog lookup.

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

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit f1afc61)
… notification (#18819)

* Handle -h/--help in omarchy-notification-send

Add a -h/--help branch to parse_omarchy_option() that prints usage and exits 0, so the leading-option loop (and the trailing-option loop, which shares the parser) treats help as a flag instead of breaking to take it as the headline. Also list -h/--help in known_flag() so it in the description slot is treated as an option and reaches the same branch. This makes the direct binary match the dispatcher's --help interception: no notification is sent.

* Print notification-send help to stdout and test it

-h/--help printed usage to stderr, which is where the usage errors go;
every other omarchy command prints its requested help to stdout. Send
it there.

Add a check that --help, -h after an option, and --help after the
headline each print usage, exit 0 and never call busctl. On the base
branch --help was taken as the headline and sent a notification.

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

* Recognise --help only before the headline

After the headline, -h and --help are the description: the description slot takes text even when it begins with a dash, and callers put untrusted text there (a reminder's message, a Taildrop file name, a video title). Taking --help there as a request for usage made those cards silently vanish, so help is checked only in the option loop before the headline.

The test keeps one case each way: a leading --help prints usage and sends nothing, which fails on the base branch, and a --help after the headline is still sent as the description, which fails if help moves back into the shared option path.

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

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 49e538b)
…run (#18550)

* Install Node with opencode, qwen, ghui and playwright on their first run

mise's shim installs a registry tool whose first backend is npm on its own, before the lazy install that would bring the lazy Node it needs, so the first run of these four fails with "failed to resolve configured install dependency 'node@latest' ... while offline". Keeping them out of the shim's automatic install sends their first command through the lazy install instead.

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

* Say why the auto-install list lives with the tool declarations

In omarchy.toml it would outlive an opt-out of the default tools and keep a user's own declaration of one of these tools from installing on its first command.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: muse-wonder via pi, thinking high <noreply@meta.com>

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: muse-wonder via pi, thinking high <noreply@meta.com>
(cherry picked from commit 6f82d46)
…it (#18551)

wf-recorder acts on SIGINT only when its next frame arrives, and by default it asks only for frames that changed, so on a still screen the stop waited 5 s, killed the recorder and warned the video may be corrupted. -D makes it capture every frame.

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 74dff35)
--set checked only the shape of the pair, so 91,181 was stored and the panel asked Open-Meteo for a place that cannot exist, which never answers and leaves the bar without its weather icon. The range check runs inside the jq call that builds the file, since bash has no floats, and the file is written only when jq produced something. The panel's reader drops an off-globe pair and keeps the name, which also repairs a file saved before this change or written by hand.

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Muse Wonder High via Pi <noreply@meta.com>
(cherry picked from commit b52dd3a)
omarchy agent prompt '' counted one word and forwarded --prompt "", where omarchy-agent's ${2:?} check aborted with bash's own line-number error.

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit e6c8285)
* Stop agent usage-update on an empty --except

An empty or missing --except value failed the array assignment with a bad subscript, which does not stop the script, so it went on to refresh every agent and exit 0.

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

* Keep the --except refusal and its assignment as two branches of one if

AGENTS.md asks for a full if/else rather than an exit that makes the lines after it unreachable.

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

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 464d993)
…ord (#18556)

Codes were matched inside a slice cut out around each keyword, and the slice's edges counted as word boundaries, so a number crossing a window's start was offered as its tail (23456) and one crossing its end was cut short (48291). Matching over the whole text reads each code to its real edges; keeping only matches whose code starts inside a window stops a number that merely grazes a window's start from being pulled in and outranking the real code.

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 0a004aa)
omarchy-theme-set lowercased the name and turned spaces into dashes before looking for the folder, so a hand-made "Walk Handmade Theme" could never be set, and a hand-made "Gruvbox" set the bundled gruvbox instead, from the CLI and from the picker, which passes folder names. omarchy-theme-remove did no conversion at all, so the listed name of a dashed folder, and its own example, were never found. set, remove and dev theme-preview now try a folder of exactly the given name first and fall back to the existing conversion, and remove says when the name it found is a bundled theme rather than calling it missing.

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 4838ee1)
omarchybot and others added 17 commits November 16, 2026 23:51
With no default source, wpctl prints an error and exits 0 with nothing on stdout, so input mute read the empty answer as unmuted and showed "Microphone on". It now asks for the source's volume first and, without a Volume: answer, shows "No microphone found" and exits 1. The screen recorder's wf-recorder path likewise took pactl's @DEFAULT_SOURCE@ placeholder for a device.

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>
(cherry picked from commit cf631a7)
…ckground picker (#18561)

* Say there are no plugins instead of opening an empty removal picker

plugin remove only checked that the plugins folder exists, and removing the last plugin leaves the folder, so gum choose got no options and the command ended on "cancelled". It now collects the list first and says there are no plugins installed, and a folder it cannot read says so rather than ending silently under pipefail.

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

* Tell the background switcher's user there are no backgrounds

A theme with only colors.toml has no backgrounds, and menu-images opened the image picker on no rows. The picker reveals itself on its first preview, so it never appeared but held the keyboard until Escape. menu-images now exits 3 when it has nothing to offer, after the preload branch so the shell's cached copy is still refreshed, and the switcher sends the "No background was found for theme" notification that theme set and bg next already send.

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

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit e6dbc04)
…led (#18562)

Escape makes gum exit 1, which set -e passed straight out, so the floating terminal ended a cancel on a red Failed. 130 is what the wrapper reads as the user backing out, as the Docker DB picker and passwordless sudo already use.

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 853d289)
…8565)

A click into a submenu rebuilds the rows under a still pointer and relied on Qt hovering the new row so its onEntered could select it. An absolute pointer (a VM tablet, a remote desktop, a pen tablet) that jumps onto a row and clicks in one event gets no such hover, so the cursor stayed on the first row and Enter applied it. The click now passes its own point, and setActiveMenu selects the row under it through the same pointer gate once the rows are rebuilt.

The fixture loads the real Menu.qml and clicks into Bar Background with no hover at all, which is what the absolute pointer leaves it.

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Codex Medium <noreply@openai.com>
Co-authored-by: Muse Wonder High <noreply@meta.com>
(cherry picked from commit 1c4a9e0)
* Validate pane counts before creating layouts

* Fold the pane count check into the existing usage guard

One line per function instead of a four-line if that repeats the usage message. The tests now also cover -1 and a bare word that bash arithmetic would read as a variable name.

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

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit a7f3c06)
…3237)

* Cap the command list column width to keep summaries from wrapping

* Correct the command column comment's example

The comment named agent usage update as the usage pushing the column past 90 characters, but that usage is 82; the ones the cap exists for are over 200.

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

* Say that any usage over the cap pushes only its own summary

The comment named usages past 200 characters, but every usage longer than 48 characters is the case the cap handles.

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

* Test that the commands table pads its usage column to at most 48 characters

Adapted from the test on #10847, which fixes the same bug with a different cap: a short command's summary must start within the capped column, not after the longest usage in the table. It fails when the cap is removed.

Co-Authored-By: Harlan Jones <harlanljones@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Harlan Jones <harlanljones@gmail.com>
(cherry picked from commit 44486c2)
Pressing Esc in Install > Development > Docker DBs fell through to
'|| main_menu', which nothing defines anymore. Bash printed
'main_menu: command not found' and then the no-selection message.

Cancelling now exits 130, the status the floating-terminal wrapper
treats as the user bailing, so the terminal closes without the Done
prompt. Same convention as omarchy-sudo-passwordless and
omarchy-agent-account-add.

Co-authored-by: steelcityappliance <steelcityappliance@users.noreply.github.com>
(cherry picked from commit 3567296)
* Rearm idle monitor after timeout changes

* Correct why the idle monitor needs re-arming

Quickshell does replace the notification when the timeout changes: updateNotification() deletes it and creates a new one. The failure is that the replacement can land at the deleted one's address, so Qt sees bNotification unchanged and isIdle never subscribes to the replacement. Disabling first sends the pointer through null, which is why the pulse works.

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

* Retime the idle monitor only once the user is back

Since quattro's idle service closes the screensaver and cancels the cycle on any active signal past the launch grace, the re-arm pulse fired mid-cycle read as the user returning: a shell.json timeout change while the screensaver was up closed it, ran omarchy-system-wake and pushed the lock back by the time already spent idle. Ignoring the pulse's active signal instead would leave a user who then comes back unseen, since the fresh notification starts out active and can only report a return after it first idles.

So the monitor's timeout is no longer bound. It is set, and pulsed, only while the monitor reports active: straight away when the user is at the machine, as when they edit shell.json, and otherwise on the return that ends the cycle. Until then the running cycle keeps its notification, so it still sees the return and keeps its deadlines.

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

---------

Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Codex Medium <noreply@openai.com>
Co-authored-by: David Heinemeier Hansson <david@hey.com>
(cherry picked from commit c5f98c6)
* Avoid Baffin GPU hangs when screen recording

* Keep the encoder test away from a real recording

The test left pgrep and XDG_RUNTIME_DIR pointing at the machine running it, so a recording in progress sent the script down its stop path and SIGINTed the user's recorder, and a recorder state file could land in the real runtime directory. Its omarchy-shell stub also exited 1, which, whenever the stub recorder was still alive at the start check, failed the start and ran cleanup_webcam's real pkill of a running webcam overlay. Stub pgrep, use the temp dir as the runtime directory as screenrecording-test.sh already does, and make the stubs succeed.

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

* Record on the CPU on every AMD Polaris GPU, not only Baffin

#9555 has the same ring vce0 timeout and failed GPU reset on an RX 580 (1002:67df) and an RX 590 as on the Baffin MacBook, so match every device ID amdgpu assigns to CHIP_POLARIS10, 11, 12 and CHIP_VEGAM, all of which run the same VCE 3.4 block. CPU encoding stays the workaround: it is what the RX 580 reporters and the Baffin author confirmed, while HEVC (which Mesa encodes through UVD rather than VCE on these cards) is only suggested, not yet tried on affected hardware.

Read the IDs from sysfs, as the omarchy-hw-* GPU checks do, rather than lspci, which reads config space and wakes a runtime-suspended dGPU on every recording start. That also lets the test fake the hardware with OMARCHY_PCI_DEVICES_PATH, so the encoder check becomes one case in screenrecording-test.sh, through the real entry point, instead of a separate file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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>
(cherry picked from commit 08e92a2)
The portal backend is the opt-in path for HDR, external-GPU monitors and
window capture, but --fullscreen was matched first and passed the focused
monitor straight to the kms backend, so the variable never applied there.

On a hybrid-GPU laptop the kms backend only enumerates the connectors of
the single DRM card it attaches to, so a monitor driven by the other GPU
is not visible to it and recording fails. That left no configuration in
which ALT + PRINT could record such a monitor, even though the portal
backend handles it fine.

Check the variable first so it applies to every capture path.

Co-authored-by: juanitoclavel <juanitoclavel@gmail.com>
(cherry picked from commit 263c3bd)
* Explain when GTK4 breaks on NVIDIA and how to choose another renderer

The comment blamed Vulkan on NVIDIA in general; the failure shows most
reliably when GTK's Vulkan device isn't the compositor's GPU. Point users
who want another renderer at hl.env in their own config, which loads after
the defaults: Hyprland's environment can't tell a user's session value
from one set on an earlier load, since each reload starts a new Lua state.

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

* Date GTK's Vulkan default to 4.16, the release that made it

GTK 4.14 made the new GL renderer the default; Vulkan became the default on Wayland in 4.16.

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

* Force the GL renderer for GTK4 on NVIDIA

GTK 4.14+ defaults to Vulkan, which leaves Nautilus and other GTK4 apps
as black windows or crashing on NVIDIA. The cursor change is dropped:
Hyprland's auto defaults already pick a CPU buffer on NVIDIA.

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

* Cover GSK_RENDERER in the NVIDIA environment test

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
(cherry picked from commit fc3fd08)
* Hold the network panel's layout while switching Wi-Fi networks

Connecting to one network while another is up dropped the panel to its
disconnected layout in between: the stats grid, band row and hero all
vanished and came back. Through the switch the hero now names the network
being joined, and the sections hold their place reading "--" until the
new link reports.

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

* Keep the network hero's buttons in place while switching Wi-Fi

The QR and speed-test buttons vanished as the old network dropped and
came back with the new one, reflowing the name beside them. The ones that
were showing now stay, disabled, until the switch settles.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit e25a57b)
Only an uninstall that needs a terminal closes it; other removals drop the entry in place.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
(cherry picked from commit eba75cd)
* Hide the startup pointer without turning Hyprcursor off

The startup window turned cursor:enable_hyprcursor off before Hyprland built its cursor manager, so no Hyprcursor style was loaded, and turning it back on with hl.config() loads none. On Hyprland 0.56 the next reveal handed CCursorBuffer the null surface libhyprcursor returns for an unloaded style and crashed. Hiding with cursor.invisible alone leaves Hyprcursor to load its theme at startup as it would without Omarchy, including the first theme it finds when HYPRCURSOR_THEME is unset.

With no theme swap there is nothing to undo at the reveal: the blank Xcursor theme, the XCURSOR_* juggling and its orphan recovery, the GSettings guard and the xsetroot repair for XWayland all go. A reload resets cursor.invisible to the user's value, so the one thing kept across it is whether the reveal is still pending.

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

* Stop hiding the pointer at startup

Hiding the pointer meant turning cursor:enable_hyprcursor off before Hyprland built its cursor manager and back on at the reveal, which on Hyprland 0.56.2 leaves no Hyprcursor style loaded and crashes in cairo_image_surface_get_stride the next time the pointer is drawn. The startup black screen is being shortened separately, so the pointer no longer needs hiding at all: Hyprland loads the user's cursor when it starts, as it would without Omarchy, and nothing has to be undone later.

The module, its require, the shell's call to reveal it, and the tests of it go. xorg-xsetroot leaves the package list: it repaired the XWayland root cursor Hyprland took from the blank theme, and with no blank theme there is nothing to repair. The idle-spawn test used the reveal as its marker that startup had finished, so it now waits out the startup cover's ten-second deadline instead.

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

* Drop the unreleased migration that installs xorg-xsetroot

It was added on quattro for the startup cursor's XWayland repair and has not shipped in a release, so removing it keeps stable installs from gaining a package nothing calls. Installs that already ran it keep the package: uninstalling a general X11 tool someone may use themselves is not worth a migration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Codex Medium <codex@openai.com>
Co-Authored-By: muse-wonder High <noreply@pi.dev>

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Codex Medium <codex@openai.com>
Co-authored-by: muse-wonder High <noreply@pi.dev>
(cherry picked from commit f97d3e7)
…#16212)

* Keep hibernation available while Bitwarden runs on encrypted installs

Bitwarden's desktop app keeps its key in memfd_secret memory since
2026.6, and the kernel turns hibernation off while any process holds
such memory, so Hibernate fails with "not configured or not supported
by kernel" whenever Bitwarden is open. When / is on LUKS the swap file
that holds the hibernation image is encrypted too, so the session now
sets SECURE_KEY_CONTAINER_BACKEND=mlock there, the switch Bitwarden
provides for this (bitwarden/clients#21661). A value the user set is
kept, and unencrypted installs keep memfd_secret.

* Check every swap a hibernation image can go to, not just /

A hibernation image goes to a swap area, which can be a partition
outside the encrypted root. omarchy-hibernation-encrypted now checks
every active disk swap, a swap file through the device it lives on, and
the session only lets Bitwarden use locked memory when all of them are
on LUKS. The test reads the value from a child process, so it also fails
when the export is lost, and quotes its string literals.

* Require encryption on every path below a swap

One crypto_LUKS device somewhere below a swap was enough, so a swap
volume spread over an encrypted and a plain disk passed. The check now
walks lsblk's tree and counts a device as encrypted only when it is a
crypt mapping or everything below it is. The test covers LVM on LUKS
and such a spread volume, and sources base-test.sh the documented way.

(cherry picked from commit 61887f2)
…19096)

omarchy-kernel compared menu entries through printf | grep -q under pipefail, so an early match could SIGPIPE printf and read as a miss. The privileged environment sanitizer waited on a process substitution Bash could already have reaped; it now reads a lastpipe pipeline and takes env's status from PIPESTATUS, failing closed with job control on.

The screen recording test let a pending start's shortened ready timeout run out before the toggle arrived, the thumbnail test checked for files before generate_thumbnail moved them into place, and the router timing read a wall clock that time sync steps right after the CI VM boots.

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 0746020)
@greptile-apps

greptile-apps Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[High impact] The reviewed changes appear safe to merge; no new actionable issue was established.

Summary

Backports fixes across updates, command-line tools, desktop panels, capture, and startup.

  • System updates get signing keys without relying on public keyservers.
  • Screen recordings honor capture choices and stop cleanly.
  • Wi-Fi rows and the network panel stay in step with network changes.
  • Matching notifications arriving together share one card.
  • New plugins appear without unloading plugins already running.
  • Removing an app leaves the launcher open when no terminal is needed.
  • Menus keep the clicked row selected and empty pickers return cleanly.
  • Commands show useful usage and errors when inputs are missing.
  • Herdr and tmux commands preserve full commands and valid pane counts.
  • Theme commands find folders by the name shown in the theme list.
  • Startup no longer hides the pointer while the desktop loads.
  • GTK apps use the GL renderer on NVIDIA desktops.
  • Bitwarden can use locked memory on encrypted-swap installs.
  • Weather and update status refresh when the network comes online.
  • Battery and idle indicators wait for fresh state before changing.
  • Keyboard setup errors appear in the current language.
  • Developer tools install with their first-run setup.

No new actionable findings were established. Review was based on source inspection; no tests or live desktop checks were run. ryanrhughes notes the known typing setup test dependency on the checkout being on PATH.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Local plugin change] --> B{Known plugin folder?}
  B -->|Yes| C[Full reload]
  B -->|No| D[Discovery scan]
  E[Plugin update command] --> C
  D --> F[Keep unchanged instances]
  D --> G[Add or remove plugins]
  C --> H[Rebuild reloadable plugins]
Loading

Reviews (3) · Last reviewed commit: "Fix the races behind five tests that fai..." · Reviewed by Greptile

@ryanrhughes
ryanrhughes merged commit 662ba4d into v4-5-1 Nov 17, 2026
2 checks passed
@ryanrhughes
ryanrhughes deleted the backport/v4-5-1-quattro-fixes branch November 17, 2026 05:04
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.