Skip to content

Sync upstream quattro through 87788b5d5 - #144

Merged
mark-groves merged 60 commits into
quattrofrom
cursor/upstream-changes-pr-8778
Dec 3, 2026
Merged

mark-groves merged 60 commits into
quattrofrom
cursor/upstream-changes-pr-8778

Conversation

@cursor

@cursor cursor Bot commented Dec 2, 2026

Copy link
Copy Markdown

What changes

Upstream quattro moved from 255bb001 (omacom#21190, already on this fork as #142) to 87788b5d5 (omacom#21398). Fifty-nine first-parent commits, all replayed. No merge commits. Nothing skipped. One follow-up lets the lock-face wake check accept runWake's new blank delay.

Two conflicts.

shell/plugins/lock/Service.qml (omacom#21163). Opening the lid wakes the lock and passes the longer resume blank window into runWake. The fork still clears displaysBlank, queues a wake that is already running, and calls rearmLockPresentation so a face hold can finish after a resume that never touches the lid or the output list.

bin/omarchy-theme-set-vscode (omacom#21307). The summary stays "VS Code and VSCodium". This fork does not theme the Cursor editor: /usr/bin/cursor is the GUI launcher, and calling set_theme on it opens extra windows.

The other overlap paths match a clean three-way. Fork delta vs 87788b5d5 is 254 paths, the same set as against 255bb001. On the paths upstream did not touch, nothing differs. Face, Grok Bot, and the Cursor agent stay. shownProviders stays. linux and linux-headers stay. The translation-sync workflow stays absent. cursor-agent stays out of the mise tool list. Power profiles still write through busctl. The Cursor tarball wording stays. A lapsed Claude access token stays paused until the CLI renews it. Hype and Monologue stay off the default dock.

Verification

Passed: lock-state-test.sh (52), lock-face-test.sh (79, one skip: quickshell is not installed), lid-close-test.sh (13), vscode-theme-test.sh (7), menu-test.sh (126), dock-test.sh (85, one compositor skip), tiny-test.sh (6), agents-panel-test.sh (180), default-agent-test.sh (59), i18n-test.sh (417, one skip: structural mode does not require every catalog to mirror English), media-test.sh (3), system-stats-memory-test.sh (3), weather-unit-test.sh (29), agent-resume-test.sh (11), game-vibes-studio-test.sh (5), drive-unlock-test.sh (5), crash-capture-test.sh (32), dictation-test.sh (17).

lock-fingerprint-service-test.sh skips: no Wayland compositor.

No compositor, so the dock, the lock wake, Tiny, and the menu were not drawn.

Screenshots

No visible change captured: this run has no compositor, so the dock, the lock screen, Tiny, and the menu were not drawn.

Open in Web View Automation 

dhh and others added 30 commits December 2, 2026 23:02
…macom#21198)

* Show blank slate in Game Vibes Studio when no models are available

* Address Claude and Greptile review findings on Studio blank slate

* Scope preferred model override to its target agent on Pi fallback
…1208)

Exporting SAL_USE_VCLPLUGIN=qt6 to the whole session makes every LibreOffice --headless run abort when no display is reachable: LibreOffice only picks its display-free svp backend when the variable is empty, and the qt6 plugin calls qFatal without a display instead of falling back. autostart's dbus-update-activation-environment also copies it into systemd user services and timers, which is where headless conversions usually run.

Fixes omacom#21154

Co-authored-by: omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Improve snapshot menu readability

* Preserve snapshot search and custom menu details
…21163)

With HandleLidSwitchExternalPower=ignore, closing the lid while plugged in locks and blanks the panel without suspending. On lid open, Hyprland only ran omarchy-hyprland-monitor-clamshell, which skips DPMS enable outside docked clamshell mode and never wakes the lock service, leaving the display dark and fingerprint authentication paused until a key is pressed.

Add omarchy-system-lid-open and bind switch:off lid events to it. When open, wake through a new omarchy-shell lock wake IPC method when locked (or fall back to omarchy-system-wake when unlocked or if the shell is unreachable), both of which reconcile clamshell state. Re-check omarchy-hw-laptop-closed once after 100ms before treating a lid-open event as a replayed closed switch (for non-ACPI laptops where logind lags Hyprland), and preserve the longer resume blank window and fingerprint resume grace when waking right after suspend.

Co-authored-by: Mark Groves <mark-groves@users.noreply.github.com>
…#21201)

* Add opt-in Secure Boot setup and Type 1 boot publishing

Machines on systemd-boot need an opt-in path to enroll the Omarchy
Secure Boot Root CA and boot signed kernels with integrity lockdown,
active IOMMU, and kexec disabled without changing default installs.

Add bin/omarchy-boot-secure (--check, enable, disable, status), commit
the public Omarchy Secure Boot Root CA (DER/PEM), and extend
bin/omarchy-boot-sync to publish Type 1 Boot Loader Specification
entries only when secure_boot=enabled is recorded in boot state.

Key behaviors:
- Machines without secure_boot=enabled produce identical UKI output.
- Preflight refuses BIOS mode, Limine, missing TPM 2.0, disabled IOMMU,
  Intel/T2 Macs, HP ZBook Ultra G3a 16, Steam Deck, unsigned or
  re-signed kernels/loaders, pending snapshot restores, and active DKMS
  modules.
- Key enrollment backs up existing efivars sequentially, uses sbctl
  --microsoft --custom (omitting --firmware-builtin on ASUS/Gigabyte),
  preserves existing sbctl owner PK/KEK in User Mode via --append
  --partial db --ignore-immutable, and verifies CA readback in db.
- Rejects binaries carrying extra signatures (such as sbctl re-signs),
  untracks Omarchy Secure Boot paths (including unsigned-key -> .signed
  loader entries) from sbctl, and restores clean signatures on the ESP.
- Keeps the previous signed kernel bootable on upgrades and refuses
  disable while firmware still enforces Secure Boot unless --force is
  passed.

Verified with 18 unit tests, all existing boot shell tests, and 3 real
QEMU/OVMF + swtpm VMs (opt-out zero-byte diff, fresh Setup Mode
lifecycle + 10/10 posture checks + upgrade fallback + disable, and
existing sbctl User Mode append + live sbctl re-sign trap recovery).

* Guard mkinitcpio sbctl post hook and allow signed out-of-tree modules

Real-hardware testing on Dell XPS 16 exposed two issues:
- Arch's /usr/lib/initcpio/post/sbctl runs sbctl sign on vmlinuz during
  every mkinitcpio/omarchy-boot-rebuild once sbctl keys exist, appending
  a second signature to Omarchy-signed kernels.
- omarchy-boot-secure status checked tainted == 0, which false-fails on
  machines with Omarchy-signed out-of-tree modules (linux-omarchy-ipu7,
  linux-omarchy-nvidia-open, v4l2loopback, openrazer) that set bit 12
  (TAINT_OOT_MODULE, 4096).

Install a managed /etc/initcpio/post/sbctl guard on enable that skips
Omarchy-signed kernels while delegating non-Omarchy kernels to
/usr/lib/initcpio/post/sbctl, remove it on disable, and verify it in
status. Check TAINT_UNSIGNED_MODULE (bit 13, 8192) instead of full
taint in status.

* Move omarchy-boot-secure to its own package and harden sync and reset

Drop bin/omarchy-boot-secure from this repository so the CLI ships from its own omacom/omarchy-boot-secure package. Verify the committed Root CA PEM against its pinned SHA-256 fingerprint at runtime in omarchy-boot-sync, clean leftover Type 1 files when returning to UKI mode, and refuse omarchy-system-factory-reset while Secure Boot is enabled in state or firmware.

* Keep Type 1 entries until UKI default is committed

Delay Type 1 cleanup in omarchy-boot-sync until set_loader_default switches loader.conf to the UKI, skip cleanup when OMARCHY_BOOT_DEFER_DEFAULT=1, and preserve any Type 1 entry still armed as LoaderEntryOneShot.

* Handle Type 1 snapshots, restore guards, and opt-out sync cleanly

Support Type 1 .conf entries in omarchy snapshot boot, refuse staging a snapshot restore whose omarchy-boot-sync predates Secure Boot support, limit the factory-reset Secure Boot guard to Omarchy-opted-in installs, report missing sbsigntools clearly, and keep loader.conf sync tolerances unchanged when Secure Boot is off.

* Use omarchy-cmd-present and existing boot test files

* Harden Secure Boot enable staging and snapshot restore checks

* Tighten Secure Boot enable ordering, restore loader check, and tests
direct_scanout = 1, added by omacom#20584 for fullscreen gaming, makes any solitary fullscreen surface a scanout candidate. Entering scanout switches the output to the client's buffer format and leaving it switches back, and each switch is a full modeset: a black flash every time a fullscreen window stops being scannable, seen on NVIDIA and AMD (omacom#20683). On Apple Silicon the display controller rejects the GPU's tiled client buffers outright, so fullscreen goes black (omacom#21072). Removing the setting returns to Hyprland's default of 0; a user who wants scanout for games can set it in their own config. The VRR and tearing halves of omacom#20584 were already turned off in omacom#21178 and omacom#20932.

Fixes omacom#20683
Fixes omacom#21072

Co-authored-by: omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…om#21209)

* Draw the Epic Games Launcher menu entries with Epic's real logo

Add Epic's shield to the Omarchy icon font at U+E923, from Simple Icons, and use it for Install > Gaming and Remove > Gaming in place of the Nerd Font gamepad glyph Heroic also uses. Name the rows Epic Games Launcher, which is the product they install and fits beside RetroArch Game Launcher.

omarchy dev font could not read the Simple Icons path: SVG arc flags are single characters, so minified paths write "a4.262 4.262 0 00.02.433", and the tokenizer read "00.02" as one number. It now reads the two flags of each arc one character at a time.

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

* Test that omarchy dev font reads compact arc flags

Greptile asked for the regression test AGENTS.md wants for a logic fix. It sits beside the menu test's Omarchy font check, fails on the base tokenizer, and covers an implicitly repeated arc, which a fix without the modulo would miss. runpy loads the script without writing bytecode into the checkout, as the reviewer pointed out.

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>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
A fresh install's boot image has no GPU driver, so the splash draws on
the firmware framebuffer until the GPU's own driver takes it in the real
root. The splash stop then takes 3.2 s, and the login waits for it.

Sway ends at once. The session script waits 3 s for a GPU to restart the
splash on, because its root is the emptied initramfs: /run has moved, so
it never sees the stop file. The stop waits for the script and kills it
at its own 3 s limit.

Let the wait end when the script's /run is gone. On a Dell XPS 16 the
stop takes 0.4 s, and the shell is ready 7.5 s after the disk unlock
instead of 9.4 s (median of 6 boots each).
The menu centres each icon's advance in a 36px slot. JetBrainsMono Nerd Font gives its icons a 0.6em advance with the ink overhanging to the right, so Steam, RetroArch, Moonlight and most Nerd glyphs sat 1.5-2.5px right of centre, while marks from the Omarchy font, which fill a centred 1em box, sat on it. Next to each other, Epic Games Launcher looked shifted left in Install > Gaming.

Measure the glyph's tight bounding box and translate it so its ink is centred, whatever font the icon comes from. Layout is unchanged; only where the glyph is painted moves.

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…it (omacom#21217)

The menu card is 300 units wide, and Epic Games Launcher elides to "Epic Games Launch…" in Install > Gaming; NVIDIA GeForce NOW is about the longest label that fits. Go back to Epic Games in the menu, the English catalog and the manual's menu path. The other locales follow at the next translation sync.

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Maxwell, Pascal, and Volta GPUs previously installed nvidia-580xx-dkms,
compiling unsigned modules locally on every kernel update.

Switch install/hardware/nvidia.sh to linux-omarchy-nvidia-580xx for
fresh x86_64 linux-omarchy installs while preserving whichever R580
module package is already installed on hardware reapply and keeping
nvidia-580xx-dkms alongside linux-omarchy-nvidia-580xx in
install/omarchy-other.packages for offline multi-kernel fallbacks.

Add a migration that checks both exact dependencies locally via
pacman -T (deferring with exit 75 only on clean package absence or
unsatisfied status 127, and surfacing database errors), swaps
nvidia-580xx-dkms in one --ask 4 transaction, runs
omarchy-boot-rebuild linux-omarchy, sets reboot-required, and uses a
transient rebuild marker so retries complete without repeating rebuilds
for other users.
Add an end-user Secure Boot guide to manual/48-security.md (setup,
BIOS Setup Mode, Windows BitLocker dual-boot, disabling, and
troubleshooting) and keep docs/secure-boot.md as the codebase and
architecture reference linked from docs/boot.md.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
When a kernel command line includes the -- separator, Linux passes every
following token to init and ignores it as a kernel parameter. Previously,
cmdline_with_secure_boot appended SECURE_BOOT_SWITCHES at the end of the
line and stripped matching keys after -- as well. cmd_verify also scanned
the entire last options line, so it accepted switches placed after --.

Split the command line at the first standalone -- token in
cmdline_with_secure_boot so conflicting switches are stripped only on the
kernel side, SECURE_BOOT_SWITCHES are inserted before --, init arguments
stay intact, and shell globs are never expanded. Update cmd_verify to
read all Boot Loader Specification options lines in order and stop at the
first standalone --.

Verified with boot-sync-cmdline-test.sh and boot-sync-test.sh, confirming
the new cases fail before the change and pass after.
…om#21261)

* Keep trial entry in BootOrder and finalize on stale BootCurrent

Some UEFI firmwares ignore BootNext when the target entry is absent from
BootOrder, causing the first reboot of omarchy-boot-switch to fall back
to Limine and abort the switch. Other firmwares (including Dell XPS 16
BIOS 1.12.0) leave BootCurrent stale across boots, leaving promoted
switches unable to finalize on the second reboot because confirm only
allowed the started_our_loader fallback in the trial phase.

Append the new trial entry to the end of the restored BootOrder in
register_trial so Limine stays first for automatic fallback while the
trial entry remains present in BootOrder. Record the kernel boot ID when
trial promotes, skip repeat confirm runs during the same boot, and allow
started_our_loader during promoted confirmation once the boot ID has
changed.

Verified in QEMU/OVMF with an upgraded Omarchy 4.5.0 install across both
failure modes (BootNext entry absent from BootOrder, and stale
BootCurrent 0000 across the trial and promoted reboots) and with all 16
test/shell.d/boot-*.sh test scripts passing.

* Match unquoted [[ == ]] style for boot_id check
* Enable Apple Silicon GPU support in btop

* Avoid SIGPIPE in btop shown_gpus migration under pipefail
…R partition (omacom#21250)

* Publish systemd-boot images on an XBOOTLDR partition beside Windows' ESP

A free-space install next to Windows can boot systemd-boot from Windows' ESP, mounted at /efi, and keep its UKIs on its own XBOOTLDR partition at /boot, the layout systemd designed for this. omarchy-boot-partitions decides the layout once (an XBOOTLDR partition at /boot, mounted or in fstab, beside a vfat /efi) and prints the ESP and $BOOT; the boot tooling writes the loader and loader.conf to the ESP and everything else to $BOOT, never takes Windows' fallback path, and a factory reset mounts, backs up and restores both partitions. OMARCHY_BOOT_XBOOTLDR names the partition beside OMARCHY_BOOT_ESP. A single ESP behaves as before.

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

* Show systemd-boot's menu while Windows is on its ESP, and send BitLocker through the firmware where it can

systemd-boot lists Windows by itself when its boot manager is on the ESP it starts from, but Omarchy's loader.conf hides the menu. omarchy-boot-sync windows, run at every boot by omarchy-boot-confirm.service and once at the end of an install, raises timeout 0 to 5 seconds while Windows is there and sets reboot-for-bitlocker only where systemd-boot 262 will still start Windows with it: a TPM, a drive with the -FVE-FS- signature, and a "Windows Boot Manager" Boot#### with an all-digit number in BootOrder. Each change is recorded by a comment in loader.conf itself, so the change and its record are one write, and is undone once its reason has gone; a setting the user made is never changed.

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

* Publish Secure Boot's Type 1 entries on the XBOOTLDR partition beside Windows' ESP

A Type 1 entry's linux and initrd paths are relative to the partition the entry is on, so the entries and the signed kernels they name go on $BOOT with the UKIs, and their space check, cleanup and verify follow them there. Windows' ESP gets only the signed loader and loader.conf: the signed fallback loader is installed and verified only where the ESP is Omarchy's own, and the UKIs a switch to Type 1 retires are removed from $BOOT, where they are.

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

* Keep another system's systemd-boot before an install replaces it, and never read an unreadable /boot as one ESP

Windows' ESP is shared, so another Linux may already boot through systemd-boot from it; an install now keeps that loader and its loader.conf in the store's backup/esp, as the switch does, before writing its own. And a vfat /boot beside /efi whose partition type lsblk can't read (no udev data, a device not yet there) counts as the XBOOTLDR partition, in omarchy-boot-partitions and the factory reset alike: guessing one ESP would put the boot images on Windows' ESP, while guessing XBOOTLDR at worst stops the writers when /boot isn't mounted. Only a type read as something else rules it out. omarchy-boot-partitions asks findmnt for the type before the source, since findmnt -e prints an empty source for an fstab device that isn't there, which shifted the type into the source.

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

* Decide the boot partitions from fstab and the live mounts together, and refuse to write where they can't be told

omarchy-boot-partitions read /boot from the live mount or, failing that, from fstab, so an autofs /boot or an unmounted /efi collapsed the layout into one ESP, and with it the boot images and a signed fallback loader onto Windows' ESP. It now resolves /efi and /boot from fstab and the live mounts, which must agree on device and filesystem; accepts the split layout only where /boot reads as an XBOOTLDR partition on the ESP's own disk, the only one systemd-boot reads; requires both volumes mounted; and refuses everything else on stderr: a second ESP, an XBOOTLDR on another disk, an unreadable type or device, an automount that hasn't mounted. omarchy-boot-sync then runs only cmdline and preferred, omarchy-boot-switch reports it from --check and refuses install, confirm, revert and the switch, omarchy snapshot boot stops, and the splash colors skip the credential instead of guessing /efi. Named by the installer, the writers still check both partitions are mounted vfat and are two filesystems, and install does so before writing the loader or the splash credential.

Windows' fallback no longer depends on that decision: neither omarchy-boot-switch install nor the signed loader writes EFI/BOOT/BOOTX64.EFI onto an ESP with EFI/Microsoft on it, and verify doesn't ask for one there. And a fresh store backs up whatever systemd-boot and loader.conf it finds on the ESP, another Omarchy's included, since the generic omarchy-boot-switch comment says nothing about which installation wrote it. The tests that let the old fallback guard and the shared snapshot fixture pass now fail without the fix.

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

* Read the factory root's partitions as a running system does, and stage its default before activating it

The factory reset had its own reading of the clone's fstab, which took any XBOOTLDR-typed /boot, on any disk, and an unreadable one too. It now asks omarchy-boot-partitions --fstab --devices, so the same rules decide, and a layout it refuses stops the reset before anything is mounted. The clone's loader.conf default is written as loader/loader.conf.omarchy-reset before the clone is activated, so a full Windows ESP fails the reset while this system still boots; after activation a rename makes it current, and only once that rename is on disk do the pending default and the old owner's images go. The tests now run rebuild_next_boot itself, with mount and chroot recorded, on distinct volumes.

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

* Change back only the loader.conf line Omarchy set for Windows, and send BitLocker through the firmware only to this ESP's Windows

The Windows edits appended a marker at the end of loader.conf and undid it by rewriting every timeout 5, so a user's later timeout came back as a second timeout 0, and a file without a final newline took the marker onto its last line. Now each line set follows a comment line of its own, a lone timeout 0 is the only one ever raised, and undoing turns back exactly that line while it is still what was set; a missing final newline is added first.

reboot-for-bitlocker stays automatic, since without it BitLocker's Windows asks for its recovery key when systemd-boot chainloads it, but it is set only where systemd-boot 262 sends it to the Windows on this ESP: a BootOrder of whole 16-bit numbers, as systemd-boot rejects an odd length; the first "Windows Boot Manager" there, looked up as Boot%04x, with an HD() device path on this ESP's partition GUID and \EFI\Microsoft\Boot\bootmgfw.efi; and the BitLocker drive on this ESP's disk. docs/boot.md names what only the firmware can tell. Each new BitLocker case fails with its check removed.

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

* Don't wait on an automount whose device never comes when telling the boot partitions

On a worker, an x-systemd.automount /boot naming a missing device held omarchy-boot-partitions for systemd's whole device timeout before it refused. The path that triggers an automount now gives up after 10 seconds; what is still autofs then counts as not mounted, as before.

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

* Stop setting reboot-for-bitlocker, and take back what earlier versions set

Linux can see a TPM, a BitLocker drive and the right Windows Boot Manager entry while systemd-boot 262 can't reach them through the firmware, and with the option set it then fails Windows outright instead of chainloading it. The sync no longer sets it or probes for it; a reboot-for-bitlocker yes that follows either of the comments earlier versions wrote goes at the next boot, and a line the user wrote stays. docs/boot.md says when to add it by hand and what the firmware must do for it to work. The timeout raise for Windows' menu is unchanged.

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

* Check the partition roles, named or detected, before the first write, and never collapse a split layout missing a role

A snapshot's fstab without the /boot row made Windows' mounted /efi one ESP and the images went there; a lone mounted XBOOTLDR could be taken for the ESP; and the installer's and a reset's named partitions were checked only for being two FAT mounts, so reversed mounts put the images on Windows' ESP. omarchy-boot-partitions now refuses an /efi whose disk has an XBOOTLDR partition nothing mounts at /boot, a lone XBOOTLDR at /boot, a split whose /efi isn't ESP-typed or whose disk has more than one XBOOTLDR, and an fstab source that names no partition or, as a FAT serial, more than one. --expect ESP BOOT checks a named layout against fstab, the mounts and the partition types, and omarchy-boot-sync and omarchy-boot-switch install run it before writing whenever the partitions are named at /efi or /boot, or split. One ESP at /boot or /efi resolves as before.

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

* Make the factory root's default current as part of activating it, and put the old root back if that fails

The reset switched @ to the factory root and only then renamed its staged default into loader.conf; a failed rename was logged and the reset carried on, retiring the old boot store with the old default still selected, which boots the old kernel against a root without its modules, on single-ESP machines as well as beside Windows. Staging now fails the reset when the install left no default or the staged file doesn't read back, and the rename and its sync happen right after the root switch, as part of it: if they fail, the old root goes back to @ and the cleanup puts its boot files, loader.conf included, back before anything is retired or reported.

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

* Test the signed fallback's split guard on an ESP without Windows on it

Every split fixture had EFI/Microsoft on its ESP, so the Windows guard alone kept the fallback off it and the split guard could regress unseen.

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

* Refuse a disk that can't be listed and two fstab rows naming one partition, instead of reading one ESP

A failed lsblk counted as no XBOOTLDR partition on the ESP's disk, and fstab rows for /efi and /boot naming the same partition collapsed into one ESP. Both now refuse; a bind of the ESP at /boot still reads as that ESP while fstab names only one of the two.

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

* Keep the loader.conf editor's scratch files in a private directory

The Windows-menu edit reserved its working copy with mktemp but wrote each step to an unreserved name beside it in shared /tmp, which another local user could create first.

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

* Clean up the editor's scratch directory on failure too, and make the docs say where the fallback and free-space installs go

The Windows-menu edit's directory was only removed on its normal exits; it now joins the build directory in the exit trap. The Secure Boot docs name both conditions that keep the fallback off an ESP, and the boot docs no longer say every free-space install stays on Limine.

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>
Co-authored-by: Codex XHigh <noreply@openai.com>
…m#21224)

* Stand the dock on its blurred backdrop by default

The shipped shell.json turns the backdrop on, and a shell.json that never chose one reads as on, so only an explicit off goes without. Hyprland blurs behind the dock only while the dock-glassy toggle is placed, so every path that can make the backdrop on without omarchy-dock places it too: a fresh install, a migration for existing users, omarchy refresh shell, and omarchy-reinstall-configs. The migration reloads Hyprland past a replaced binary and not at all during the live Quattro upgrade.

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

* Keep only the backdrop test that guards logic

AGENTS.md rules out tests for a migration, for a shipped config value, and for a line the same change adds, so what stays is the missing-key case, which fails on the base code.

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

* Set the dock's background like the bar's: glassy or clear

The dock's backdrop was an on/off switch, while the bar offers the same blurred look as a background called glassy. Name the dock's setting the same way so the two read alike: .dock.background is glassy or none, set with omarchy-dock background, shown as Appearance > Dock > Dock Background > Glassy Dock / Clear Dock and as Background > Glassy / Clear in the dock's right-click menu. The backdrop never reached a release, so its catalog keys go from every language rather than lingering; a backdrop already turned off on edge still reads as clear.

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

* Keep the dock's blur in step from the shell, as the bar does

The dock-glassy toggle was placed by an install step, a migration and the two reset commands, which still left it out of step whenever shell.json changed any other way: a refresh of the file, a hand edit, a user provisioned inside a running session. The bar avoids all of that by having its shell sync the toggle on load and on every change, so the dock does the same with omarchy-dock sync-glass, and the install step, the migration and the reset-command edits go.

The toggle now follows a glassy dock that is turned on, since its blur is global and a dock turned off has nothing to blur behind. A shell.json that can't be read changes nothing rather than reading as clear.

The other languages' catalogs and the manifest are back as they were: the translation sync prunes the old keys and translates the new ones.

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

* Leave a paused Hyprland alone when the dock syncs its blur

An update restarts the shell right after replacing Hyprland's binary, and the dock syncs its toggle as the shell starts, so the first sync after this lands would reload the old Hyprland against the new config. Reload past a replaced binary instead; the toggle is saved and applies when Hyprland next starts or reloads.

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>
Co-authored-by: Codex XHigh <noreply@openai.com>
…ing (omacom#21283)

* Tag Proton games launched outside Steam as games

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

* Inhibit idle in fullscreen for Proton games launched outside Steam

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

* Inhibit idle in fullscreen for every game-tagged window

Replaces the per-class idle rules for Steam's Proton games, native Steam
games and Proton games launched outside Steam with one rule on the shared
game tag, so Minecraft, RetroArch and Game Vibes get it too.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…it on a .pacnew (omacom#21290)

* Give a KEYMAP-only console its XKB layout while the splash's hooks wait on a .pacnew

The splash's migration added vconsole.conf's XKB lines only when the live HOOKS named omarchy-splash. On an install whose edited omarchy_hooks.conf still set Plymouth's line, with the packaged one left as .pacnew, that was false, yet the migration marked itself done, so merging the .pacnew later left the splash with a KEYMAP it cannot type with and the password on the console. While that .pacnew exists, it now also asks what the HOOKS would be without the edited file, so the lines go in before the merge. An install that keeps Plymouth on purpose, with no .pacnew or with its own drop-in setting Plymouth's line, is left as it was, since Plymouth would type its prompt with the new lines too.

A new migration does the same once on machines that already ran it, rebuilding the boot images only where the splash draws them. The pending rebuild is recorded before the lines go in, so a failed one is retried on the next run even though the keymap no longer needs the lines.

The Zenbook A16 step keeps its gate on the live HOOKS: dropping plymouth.enable=0 while Plymouth still draws the prompt would bring back its black panel.

Fixes omacom#21135

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

* Evaluate the packaged splash hooks before migrating the keymap

The packaged drop-in can replace kms with omarchy-kms. A later drop-in may choose Plymouth based on that hook, so skipping the edited file can predict a splash where the merged configuration still uses Plymouth. Put the packaged file at the edited file's position so the forecast reflects the hooks the upgrade will use.

* Trust the .pacnew forecast only while the live line is still busybox Plymouth

An edited omarchy_hooks.conf that chose a systemd initramfs (sd-encrypt for TPM2 or FIDO2 unlock, say) also leaves a .pacnew beside it, and replacing it with the packaged file exposes the splash baseline. The forecast then added the XKB lines to a machine whose sd-vconsole and Plymouth would type the password with them. The edit that strands a KEYMAP is the old busybox Plymouth line, so the forecast now applies only while the live HOOKS have udev and plymouth and not systemd, which a systemd line can keep beside udev.

Co-Authored-By: Antigravity XHigh <noreply@google.com>
Co-Authored-By: Codex XHigh <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: Antigravity XHigh <noreply@google.com>
Co-authored-by: Codex XHigh <noreply@openai.com>
* Quit Steam before removing it

Stop any running steam and steamwebhelper processes (SIGTERM, wait up
to 10s, then SIGKILL if still running) before dropping the package and
deleting Steam's data directories, matching omarchy-remove-gaming-epic.

* Keep Steam cleanup of default XDG directories

A Steam install can still use the default data directory after XDG_DATA_HOME changes. Keep removing the default locations as well as configured absolute XDG locations so an uninstall clears data and games left in either set.

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

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

---------

Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Opus 5.5 High <noreply@anthropic.com>
* Call the Cursor editor Grok Build, with Grok's mark

Cursor is now Grok Build: since 3.32.24 the editor's own launcher entry is named Grok Build, while the package, binary, window class and icon id stay cursor. The Editor menus, the default-editor notification and the icon sets now name and draw it the same way.

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

* Redraw icons unconditionally and rename the remaining Cursor editor mentions

omarchy-theme-set-icons draws every template in the set whether the app is installed or not, and nothing redraws on install, so gating the migration on cursor-bin would leave the cube drawn for anyone who installs the editor later. The agents panel's sign-in help, the regions doc and the install-and-launch example still named the Cursor editor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Opus 5.5 High <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>
Co-authored-by: Mark Groves <mark-groves@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
emirb and others added 28 commits December 2, 2026 23:04
* Leave providers alone and find [arch-mact2] in included files in the T2 migration

* Keep T2 repo backups out of pacman's Include globs

* Harden T2 repo migration Include parsing, swap, and rollback

Tighten the Include-file rewrite in migrations/1794859637.sh:

- Skip only whole-line '#' comments per pacman.conf(5) and deduplicate
  canonical paths with realpath -e so symlinks stay intact and duplicates
  are not processed twice.
- Apply all file swaps inside one sudo pass with an EXIT trap, writing
  each stripped file to a dot-prefixed same-directory temp file (invisible
  to Include globs) before chown/chmod and mv -f -T.
- Verify the full effective pacman-conf output via cmp -s before writing
  backups under /var/lib/omarchy/t2-repo-backup and the completion marker,
  recording each target before replacing it so an interrupt restores it.

* Publish the T2 migration completion marker atomically

An interrupt after writing the marker could restore the old pacman configuration while leaving future updates convinced the migration had completed. Publish the prepared marker with a rename and defer cleanup until that rename finishes so the marker itself determines whether to roll back. Serialize privileged changes so cleanup only sees the marker created by its own transaction.

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

---------

Co-authored-by: stph l <stph.liyz@gmail.com>
Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Codex High <noreply@openai.com>
Co-authored-by: Opus 5.5 High <noreply@anthropic.com>
The linear 55 to 75 C curve in /etc/t2fand.conf ramps T2 MacBook fans
loudly during short browser or desktop temperature spikes. On a 2019
MacBookPro16,1, a brief burst to 70 C jumps a linear curve toward 4100
RPM even though the package cools back down within seconds.

Switch the T2 default in fix-t2.sh to a 60 to 85 C exponential curve.
Add migration 1796217165 to update existing T2 installs that still carry
Omarchy's unmodified 55/75 linear config, while skipping symlinks and
custom or multi-fan configs, and restart t2fanrd when active.

Measured on a 2019 MacBookPro16,1 under an 8-second two-thread burst at
4.3 GHz (62 to 70 C): fans stayed at 1837 to 1886 RPM instead of ramping
hard, then returned to 1847 RPM within 3 seconds.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Skip every agent dispatcher when finding the CLI

A caller that changes HOME but keeps another home's dispatchers on PATH
never reaches the agent. The lookups drop only the dispatcher directory
of the current HOME, so the dispatcher finds itself and starts again
without end.

Ask type for every match and take the first that is no dispatcher. All
three lookups do it the same way, which removes two copies of the loop
that rebuilt PATH.

This also lets the dispatchers move without one generation of them
starting the other.

Fixes omacom#20710

Co-authored-by: AnPod <1073516+AnPod@users.noreply.github.com>

* Keep agent dispatchers out of the package tree

omarchy-agent-account-dispatch writes the claude, codex and grok
dispatchers to ~/.local/share/omarchy/agent-accounts/bin. A 3.x upgrade
leaves ~/.local/share/omarchy as a link to /usr/share/omarchy, so the
write fails there with "Permission denied". With Grok installed,
migration 1795441383 aborts and the update cannot finish. With only
Claude and Codex the update finishes without writing any dispatcher, so
switching accounts does not reach commands run by name.

Keep the dispatchers in ~/.local/state/omarchy, next to the account
registry. A migration renames the directory in PAM's PATH line and runs
omarchy-agent-account-dispatch. The link stays, because old user units
and configs still read through it.

4.6.0 pre-releases wrote dispatchers in the old directory. Those stay,
because a running session has only that directory on PATH.

Fixes omacom#20110

Co-authored-by: johnbaku <john@fetlife.com>

---------

Co-authored-by: AnPod <1073516+AnPod@users.noreply.github.com>
Co-authored-by: johnbaku <john@fetlife.com>
Holding a DRM file descriptor on nvidia-drm across omarchy-splash-stop
prevents drm_lastclose from running when the initramfs sway compositor
exits, leaving nvidia-drm CRTC state unreset when Hyprland starts its
first modeset. On affected NVIDIA systems this can stall or fail the
compositor handoff after LUKS unlock.

Skip DRM cards whose sysfs driver is nvidia or nvidia-drm in
splash_devices so sway's exit triggers drm_lastclose cleanly on NVIDIA
cards before Hyprland modesets, while keeping seamless splash adoption
on non-NVIDIA cards. Update the no-holdable-display log line and docs.

Refs omacom#21274
…om#21151)

* Retry mounting a freshly unlocked drive until UDisks2 allows it

* Exercise the automounter's mount retry through the watcher

Emit the cleartext device event and let the watcher handle the initial UDisks2 refusal. Calling the retry helper directly would still pass if the watcher went back to a single mount attempt.

Co-Authored-By: Codex High <noreply@openai.com>
Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>
Co-Authored-By: muse-wonder via pi, thinking high <noreply@openrouter.ai>

---------

Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Codex High <noreply@openai.com>
Co-authored-by: Opus 5.5 High <noreply@anthropic.com>
Co-authored-by: muse-wonder via pi, thinking high <noreply@openrouter.ai>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…macom#21279)

Hybrid and MUX-switched laptops can register a native DRM card with no
connected outputs while the active panel still runs on simpledrm or
while the real display GPU is still probing after unbinding simpledrm.
Previously find_cards treated any native card with connectors as ready,
so wait_native ended immediately and started sway on a disconnected
card, leaving the LUKS prompt blank.

Keep find_cards as a pure sysfs reader that also tracks whether any
native card reports a connected connector, and wait in wait_native until
a native connector is connected (still settling immediately on firmware
when no-kms is set). Once wait_native finishes, pick native cards if a
native output is connected, otherwise fall back to the firmware
framebuffer, or to native cards when no firmware framebuffer remains.
Skip waking native GPUs in keep_awake while drawing on firmware.

Fixes omacom#20596
…sume (omacom#21296)

* Keep KillMode=process intact and wait for network in omarchy-agent-resume

* Address review feedback: call nm-online directly and drop After= grep assertion

* Keep the disarmed agent resume unit available to systemd

A user-manager reload while resume waits for the network restores KillMode=control-group if the unit definition has already been removed. Keep the definition on disk so systemd preserves process-only cleanup. Removing its login symlink and saved state still makes resume one-shot, and the off command can remove the inactive definition.

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

---------

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

* Keep terminals alive when a child process hits the OOM cap

* Quote string literals in omarchy-crash-watch comparisons

* Resolve terminal desktop actions in OOM notices

The terminal picker appends the action to its desktop ID for fallback launches. Strip the action before looking up the desktop entry so OOM notices can use its Name.

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

* Clarify which swap the graphical limit covers

MemorySwapMax limits total swap for the slice. It includes any hibernation swapfile and leaves room below the default zram capacity.

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

---------

Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Opus 5.5 High <noreply@anthropic.com>
Co-authored-by: Codex High <noreply@openai.com>
…m#21328)

The HP OmniBook Ultra Laptop 14-kg0xxx (Snapdragon X2 Elite, hp,omnibook-ultra-kg0xxx) sound card asks for a board-named AudioReach topology and UCM profile that linux-firmware and alsa-ucm-conf do not carry. Install hp-omnibook-ultra-14-audio (published in omacom/omarchy-pkgs#4457) during Qualcomm hardware setup, add it to the aarch64 offline package list, and install it via migration on existing machines.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…#21332)

Revert only the MemorySwapMax=4096M addition in bin/omarchy-apply-high-memory (and its low-memory-test.sh assertions) ahead of 4.6-rc.3 so 64 GiB+ machines with a hibernation swapfile are not unexpectedly capped to 4 GiB of runtime swap before maintainers decide the swap policy. Keeps the verified OOMPolicy=continue terminal launch and omarchy-crash-watch changes from omacom#21315 intact.
…acom#19556)

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
)

* Keep Antigravity usage refreshes from opening sign-in tabs

* Keep unreadable Antigravity usage output from crashing the collector

The subprocess decodes output before JSON parsing, so handle undecodable bytes at the subprocess boundary and preserve cached limits. Make the login-prompt test fail if it falls through to the previous CLI fixture.

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

* Cover silent Antigravity usage probe timeouts

A timed-out usage probe with no sign-in prompt must still schedule a transport retry. Exercise the collector with an output-free timeout alongside the sign-in timeout coverage.

Co-Authored-By: Medhat Mohammed <medhatmohammed1612@gmail.com>

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

---------

Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com>
Co-authored-by: Opus 5.5 High <noreply@anthropic.com>
…ume (omacom#21372)

* Add --local-model, --provider, and --every-login to omarchy agent resume

* Normalize agent for --local-model/--provider and verify wants symlink

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
…20674)

* Let a menu row name a stand-in for while Ctrl is held, as it can for Alt

A row's ctrl: names another action entry that replaces it while Ctrl is
held, the way alt: does for Alt; Alt wins when both are held.

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

* Add monk mode: reboot into Hyprland alone, leaving memory to what the machine runs

Holding Ctrl over System > Reboot gives Reboot as Monk (or omarchy system
monk-mode): Hyprland without the shell, autostarts, Xwayland or
animations, for a machine that does one job, such as a local model and
the agents using it, a build box driven over SSH, or a kiosk. Hyprland
keeps hyprctl, keybindings, real windows and screenshots. It lasts for
that boot; the next reboot is the desktop again, unless armed with
--stay.

The background is a 68 KB Wayland program built on first use, which
shows the theme's color with the logo and MONK in under 1 MB.

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

* Compare monk mode's build stamp unquoted, as the Bash style asks

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

* Reveal Reboot as Monk with Shift+Alt instead of Ctrl

The menu's second stand-in is now shiftAlt: rather than ctrl:, so Alt
keeps giving Reboot to BIOS and Shift+Alt gives Reboot as Monk; a row
with no shiftAlt: keeps its Alt stand-in under Shift+Alt.

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

* Put monk mode under omarchy system monk

omarchy system monk reboots into monk mode, with --stay to keep it until
omarchy system monk off, and status to say which mode is on; the menu's
Reboot as Monk runs the same. omarchy-system keeps monk only as the exit
path it reboots through, and the separate monk command group is gone.

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

* Show monk mode's background with the omarchy-tiny-background package

The background program moves to its own repository and package, built for
each architecture by omarchy-pkgs, so nothing is compiled on the user's
machine. Arming monk mode installs it on first use; without it monk mode
still works, on a plain background.

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

* Install monk mode's background as a curated package, so the menu can

Reboot as Monk runs without a terminal, where omarchy-pkg-add's sudo
can't ask; a curated package installs through polkit, without a password
for the machine's own session.

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

* Make omarchy-tiny-background a base package, so monk mode works offline

At 14 KB to download and 69 KB installed, the background program ships to
everyone instead of being installed the first time monk mode is armed,
which needed the network. A migration installs it on existing systems,
waiting until the package reaches the repository.

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

* Start monk mode's background straight from autostart

omarchy-tiny-background now reads a PAM image, whose header carries its
size, and takes the fill color from it, so autostart runs it on the image
omarchy-system-monk drew, and the command no longer needs a background
subcommand or a file of arguments.

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

* Keep arming monk mode inside omarchy system monk

Arming was a subcommand only because the reboot path called the script on
itself; it's a function now, so the command offers only --stay, off and
status.

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

* Start monk mode's background from monk-mode.lua

Everything monk mode changes in Hyprland is now in one file; autostart.lua
only steps aside for it.

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

* Reboot into monk mode with the usual reboot

omarchy system monk arms monk mode and then runs omarchy-system reboot, so
omarchy-system no longer needs a monk action of its own, nor a message to
translate.

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

* Keep monk mode's services off with conditions, and draw its image once

The autostart and fcitx5 masks came after the session's start jobs were
queued, so they likely didn't stop them. take now writes runtime drop-ins
with ConditionEnvironment=!OMARCHY_MONK_MODE=1, checked as each job runs,
and adds owe's intro and Superwhisper. off also clears this boot's marker,
so logging back in returns to the desktop.

The background is white on black now, so it's drawn once and kept. The
header says monk mode has no lock, idle, notifications or polkit, and the
command metadata lists its subcommands.

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

* Don't reboot when monk mode couldn't be armed, and fix bare and status

A failed marker write no longer falls through to the reboot. An explicit
args line keeps bare omarchy system monk runnable beside the subcommand
lines, and status reads the session's own environment, which off doesn't
change.

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

* Make omarchy system monk off reboot out of monk mode

off only matters after --stay, and was always followed by a reboot, so it
reboots itself when this session is monk mode; from the desktop it just
cancels an armed monk mode. Logging back in no longer needs handling.

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

* Ship monk mode's background image instead of drawing it

It's white on black now, so nothing on the machine changes it: a 113 KB
grayscale PAM next to monk-mode.lua replaces the ImageMagick drawing and
its cache.

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

* Run monk mode on the performance power profile

The shell, which otherwise picks the profile, isn't there. take switches to
performance at a monk login and keeps the profile it replaced, which the
next desktop login puts back, since power-profiles-daemon remembers a
profile across reboots.

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

* Let omarchy agent resume come back on every login

set --every-login keeps the resume armed after it runs, until off, for a
machine handed to an agent. The command also says agent rather than coding
agent.

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

* Turn monk mode into agent mode: give this machine to an agent

omarchy agent mode (or Give Machine to Agent behind Shift+Alt over Reboot)
hands the machine to an agent until omarchy agent mode off: every boot
signs in by itself, runs Hyprland alone at full speed, and resumes the
agent's thread, the very one when an agent runs it. --sudo also gives the
user sudo and polkit without a password. off undoes only what agent mode
added and reboots into the desktop. The background says AGENT.

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

* Tell a launched agent what it is, and resume it on its model

omarchy-agent sets OMARCHY_AGENT, OMARCHY_AGENT_LOCAL_MODEL and
OMARCHY_AGENT_PROVIDER in the agent's environment, naming a local model
left to the default. omarchy agent resume takes --local-model and
--provider, so a thread on a local model comes back on it, started first
if it isn't running.

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

* Bring agents back on their local model, and serve one, in agent mode

Run by an agent, omarchy agent mode resumes that agent on the local model
or provider it runs on. --model keeps a local model served on every boot,
for agents here or over the tailnet, retried while a pair's other machine
comes up. --sudo uses omarchy-sudo-passwordless, which warns and asks
first, instead of a sudoers file and polkit rule of its own, and a failed
arming takes back what it had done.

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

* Fix what agy's review found in agent mode

- --help anywhere is help, and option values are never read as agent
  mode's own flags
- the resume starts its thread's local model (or --model's) first,
  retrying while a pair's other machine boots, instead of racing a
  separate start; --model must be set up here
- skipped services check this boot's marker file rather than an
  environment variable the manager may not have yet
- --sudo always makes a lasting grant; a failed re-arming leaves the
  earlier agent mode as it was; off goes on past a failure and says what
  is still on
- someone at a terminal confirms first; an encrypted disk is pointed out
- an empty power profile is never saved; the menu counts Meta as Alt

Verified by agy (Gemini 4 Neon).

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

* Leave signing in to the install in agent mode

Encrypted installs, which Omarchy is moving to alone, already sign in by
themselves once the disk is unlocked, so agent mode no longer turns
autologin on and off, asks for sudo for it, or reads greetd's and SDDM's
configuration.

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

* Turn on passwordless login with agent mode, so boots need nobody

On an encrypted disk, agent mode turns on passwordless login (Setup >
Security), which unlocks the disk at boot with a key in the boot image, so
the agent comes back after an update or power cut with nobody there. It
warns and asks for the disk password itself, so only someone at a terminal
turns it on; an agent arming agent mode leaves it as it is and says boots
will wait. off turns it off again if agent mode turned it on.

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

* Split agent mode into Tiny, and agent mode on top of it

Tiny (omarchy system tiny, or Reboot into Tiny behind Shift+Alt over
Reboot) is the lean session for anyone: Hyprland alone with a terminal,
until omarchy system tiny off, for a machine with little memory or as a way
back in. omarchy.tiny on the kernel command line makes one boot Tiny, for
recovery from the boot menu. Locking in Tiny signs out to the login screen,
and only when asked: nothing locks on idle or sleep.

Agent mode becomes Tiny plus Passwordless Login, the agent resumed on every
login and the performance power profile, with --sudo and --model as
before. It turns the power profile and the resume's model start on once
when armed instead of at every login, and off takes back only what it
turned on, Tiny included.

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

* Refuse agent mode without autologin, keep earlier sudo, resume local models without a default

Agent mode refuses, before changing anything, where boot doesn't sign the
user in by itself, saying how to turn that on, instead of rebooting the
agent into a login screen. A passwordless sudo grant that was on before
is the user's, so off leaves it. A resume on a local model or provider
picks pi or OpenCode without needing a default agent. From Greptile's
review.

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

* Add Tiny Omarchy to the systemd-boot menu

The preferred kernel's live image carries one more profile, Tiny Omarchy:
the same command line with omarchy.tiny, so holding Space at boot reaches
Tiny for that boot, a way back in when the desktop won't start. It comes
after the kernels and before the snapshots. Limine regenerates its own
menu, so there it stays editing the entry.

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

* Never resume a hibernated desktop from Tiny Omarchy

The entry drops resume= and adds noresume, as snapshot entries do, so a way
back in from a desktop that hangs after hibernation doesn't restore that
desktop. From Greptile's review.

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

* Fix what Claude's review of Tiny and agent mode found

- agent mode resumes the latest thread only for agents that can pick one
  up; the others start afresh with the prompt, rather than being refused
- arming a resume again, as agents do before a reboot, keeps agent mode's
  every-login resume
- omarchy system tiny off refuses while agent mode is on and points at
  omarchy agent mode off, which status now names
- --sudo needs someone at a terminal to confirm; off and a failed arming
  leave the user's own one-shot resume alone; failures writing the resume
  drop-in after arming are caught
- Tiny still mounts drives and runs queued next-boot work
- the power profile is set with powerprofilesctl and set back by
  omarchy-powerprofiles-init, without saving one of its own
- the lock command is a full if/else, omarchy.tiny must be a whole word,
  and the menu says nothing locks on sleep

Verified by a separate Claude agent's review.

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

* Keep an active agent mode whole when re-arming it fails

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

* Drop agent mode's second help case and --model= spelling

The option loop already answers -h and --help wherever they appear, so the case before it was never the only way in. --model=<recipe> was a spelling nothing documents or uses. The resume's state file is named once.

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

* Give a failed re-arming of agent mode its earlier resume back

Arming replaces the resume before anything else can fail, and the undo only restored one when agent mode was off, so a re-arming that failed left an active agent mode resuming the new thread. The resume armed before is now saved and restored whichever it was.

An agent's own identity from the environment no longer overrides a --local-model or --provider named outright: those pick their agent in omarchy-agent-resume, and adding --agent claude beside --local-model stored the wrong agent and account.

An argument agent mode doesn't know is a usage error straight away, rather than one from omarchy-agent-resume after the confirmation.

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

* Run omarchy agent mode with no arguments

The router takes a command to need arguments when anything is left of its args header once the bracketed groups are gone, and agent mode's left "| off | status", so the bare command printed help. The whole choice is now optional, as omarchy system tiny's is.

Completion offered such a choice with its brackets on, "[off" and "status]", so a plain token loses a stray one.

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

* Rename agent mode to agent takeover

omarchy agent takeover hands the machine to an agent; its state, drop-in,
completion and test overrides follow the name.

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

* Gather Tiny Hyprland config in tiny.lua and clear startup hold

* Resolve default local agent model in omarchy-agent-resume

* Validate early and disable passwordless login before sudo in agent takeover

* Group the special reboots under omarchy system reboot and a Reboot into… menu

Tiny, agent takeover and the BIOS are all ways to reboot, so their commands
move under it: omarchy system reboot tiny, agent and bios. In the menu,
holding Alt on Reboot now turns it into Reboot into…, a submenu of the
three, so an `alt:` stand-in can be a submenu as well as an action, and
the Shift+Alt stand-in goes.

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

* Let a provider override --agent local in omarchy-agent-resume

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

* Title the Reboot into… submenu so its header has one ellipsis

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

* Open a new thread on an agent takeover's first boot, and continue it after

Started from the menu or a terminal, a takeover armed --continue, but there
is often no thread in the directory yet, and an agent asked to continue none
drops the prompt (OpenCode opens empty). Only an agent running the takeover
itself continues its thread from the start; otherwise the first login opens a
new thread with the prompt, and the every-login resume continues it after.

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

* Switch every-login resume to --continue only after launch succeeds

* Drop agent takeover; keep Tiny, Reboot into… menu, and agent-resume flags

* Put Reboot into Tiny on Ctrl over Reboot instead of a submenu

* Split omarchy-agent-resume additions into omacom#21372

* Track menu Alt/Ctrl modifiers in a single heldModifiers bitmask

* Sync Tiny Omarchy systemd-boot entry in migration

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…stemd-boot sync and switch finalize (omacom#21377)

* Reclaim superseded UKIs on tight ESPs in omarchy-boot-sync

* Prevent duplicate hook rebuilds and snapshots in omarchy-boot-switch finalize

* Keep unfinished switch recovery_snapshot published across retries
…acom#21387)

It only serves sandboxed apps. omarchy-install-flatpak installs Flatpak and
restarts the portal service so it picks the document portal up in the running
session; the GeForce NOW installer goes through it.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* Keep dictation and the crash watcher off in Tiny

Tiny skipped superwhisper.service, but Hyprland still loaded the dictation
backend's own integration, which started Superwhisper's shortcut bridge and
bound keys for a daemon that isn't running. The crash watcher only notifies,
and Tiny has no notification server.

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

* Give the dictation tests' stubs o.tiny()

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

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* Keep weather units on the pinned location's country

The panel picked metric or imperial from wttr.in's nearest_area country,
and with coordinates configured only Open-Meteo answers the current
conditions, which carries no country. A wttr.in failure therefore left
reportCountry empty and the unit fell through to the session locale, so
an Australian location read as °F on an en_US session until wttr.in came
back.

weather.json now carries the place's ISO 3166-1 country code: the panel
stores the geocoder's country_code with the coordinates it pins, and
geo.omarchy.org already answers with one, so an auto-detected place has
it too. Units follow that code before wttr.in's report and the locale.

Closes omacom#17415

* Read the imperial countries by their country codes too

countryUsesImperial knew Liberia and Myanmar by name only, so the codes
weather.json now stores (LR, MM) fell through to metric. Both are listed
alongside their names, with tests.

Also spell out --country in the manual, which promised the units without
showing how a CLI-pinned place gets one.

* Respect LC_MEASUREMENT and LC_ALL for weather unit selection

* Drop stale wttr.in country on location change and add weather unit tests

When wttr.in fails after a location change, the previous location's
cached wttr.in report could still supply areaInfo.country for the new
location, flipping units if the new location carried no saved country.

Track the query that produced the current wttr.in report so stale
areaInfo never bleeds across location changes, reject unknown flags in
omarchy-weather-location --set, and add a focused unit and CLI test
matrix covering degraded provider combinations (geo.omarchy.org,
Open-Meteo, wttr.in outages, saved country codes, and LC_MEASUREMENT).

---------

Co-authored-by: Reese Royster <reeseroyster@pm.me>
Co-authored-by: Mikhail Turov <groldster@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Opening the lid passes the resume blank window into runWake. The check still requires that every wake commits a new lock buffer.

Co-authored-by: Mark Groves <mark-groves@users.noreply.github.com>
@mark-groves
mark-groves merged commit 82092e5 into quattro Dec 3, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.