Repository navigation
Rebase the bar and lock patches onto Omarchy 4.6 - #149
Merged
Merged
Conversation
4.6 added the bar mist where our panel scrim was appended, and changed both lock files, so install.sh left all three stock. - Bar.qml: the scrim block moves above BarMoveGhostPanel, which merges cleanly on 4.5 and 4.6. - Lock: patches/orig is 4.6's. Our async wake keeps 4.6's sleep-aware countdown, its delay held until the display is back; 4.6's idle blank waits out a wake and the design's exit; its wrong-password shake carries the field's glass and glow. - Lid open: omarchy-shell lock wake reaches the bridge, which asks the worker to wake, so a blanked lock lights on a laptop. - The wallpaper design asks for the URL 4.6 preloads (?lockv=).
4.6's shell hands the lock service a publisher for sessionLocked, which the bar and plugins read (the media widget stops scrolling under the lock). Our service is a Loader, so the publisher went nowhere and the shell always saw the screen unlocked. The Loader passes it to the bridge, which reports its locked state, or to the in-process lock, which reports as 4.6's does.
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.
Omarchy 4.6 broke three of our patches, so
install.shleft them stock:BarMistPanelexactly where we appendedPanelScrim, so the merge conflicted. The scrim block now sits above theBarMoveGhostPanelVariants and merges cleanly on both 4.5.0-3 and 4.6. The patch content is unchanged.LockView.qmlandService.qml.patches/orig/plugins/lockis now 4.6's, so 4.5 and edge keep Omarchy's own lock.wakeDelayMsuntilfinishWake.IdleMonitorblank doesn't fire while the display is waking or the design is playing its exit, so the 30s wake grace survives a slow monitor.omarchy-system-lid-openwakes the lock withomarchy-shell lock wake. That reached our bridge, which had nowake, so the script fell back to lighting the display around the lock. The bridge now forwardswaketo the worker, which runsrunWake()like 4.6's handler does.publishSessionLockedcallback, which the bar and plugins read (the media widget stops scrolling while locked). Our service is a Loader, so the shell always saw the screen as unlocked. The Loader now passes the callback to the bridge, which reports itslockedstate, or to the in-process fallback, which reports as 4.6's does.?lockv=N), so the lock shows the already-decoded image instead of decoding it again.Tests
tests/all.sh: 283 checks pass against 4.6 with the patched lock files.lock-process.pynow checks that the shell sees the lock in both bridge and in-process modes, and thatlock wakeanswersunlockedwhen unlocked and wakes a blanked lock.install.sh.Not covered: lid open on real laptop hardware (that part is tested only through the IPC call).