Conversation
Guest patch 0044 adds a boot service to the compat overlay that replaces an untouched skeleton monitors.lua with Omarchy's default plus the current QEMU profile, removes the seeded no-gaps and aspect-ratio toggles when they are still the seeded copies, and switches on suspend-off. It runs once per integration revision; revision and smoke test move to 12.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Image updates carry the compat overlay onto existing disks but never touch home directories, so a guest created by an older release kept whatever its skeleton had: animations on for CPU rendering, the no-gaps toggle from #32, and a Suspend entry the VM cannot honour.
Guest patch 0044 adds
try-omarchy-catch-up.service, a oneshot in the compat overlay that runs before the display manager once per integration revision. For each home directory it does only what is safe to do on the person's behalf:~/.config/hypr/monitors.luais replaced with Omarchy's installed default plus the current QEMU profile block when the file is still the untouched skeleton, recognized as Omarchy's default plus any version of our block, so no hash list is needed. Any edit leaves it alone.window-no-gapsandsingle-window-aspect-ratiotoggles are removed when they are byte-identical to the templates and carry the same mtime as theflags.luaplaceholder, which only the old seeding produced. A toggle the person switched on later has a different mtime and stays.suspend-offtoggle is switched on.The overlay carries the current profile fragment, and the contract test pins it to the build fragment. Two overlay tests cover the untouched and the edited cases. Integration revision and smoke test move to 12.
Verified on the VM's real existing disk: the profile was refreshed (animations went from true to false after reload, no config errors), the aspect-ratio toggle was removed, suspend-off appeared, and a second run at the same revision was a no-op. The no-gaps toggle on that disk was correctly kept, because I had toggled it by hand earlier today and its mtime no longer matched the placeholder.