Skip to content

Rebase the bar and lock patches onto Omarchy 4.6 - #149

Merged
Xpond merged 2 commits into
mainfrom
omarchy-4.6
Dec 5, 2026
Merged

Xpond merged 2 commits into
mainfrom
omarchy-4.6

Conversation

@Xpond

@Xpond Xpond commented Dec 5, 2026 •

Copy link
Copy Markdown
Owner

Omarchy 4.6 broke three of our patches, so install.sh left them stock:

  • Bar: 4.6 adds BarMistPanel exactly where we appended PanelScrim, so the merge conflicted. The scrim block now sits above the BarMoveGhostPanel Variants and merges cleanly on both 4.5.0-3 and 4.6. The patch content is unchanged.
  • Lock: 4.6 changed LockView.qml and Service.qml. patches/orig/plugins/lock is now 4.6's, so 4.5 and edge keep Omarchy's own lock.
    • Our async wake (finish the blank, then wake, then arm) keeps 4.6's sleep-aware countdown. A resume delay is held in wakeDelayMs until finishWake.
    • 4.6's new IdleMonitor blank doesn't fire while the display is waking or the design is playing its exit, so the 30s wake grace survives a slow monitor.
    • 4.6's wrong-password shake also moves the field's glass and glow.
    • Its stricter PAM settling is kept, but a successful password still plays the design's exit.
  • Lid open (laptops): 4.6's omarchy-system-lid-open wakes the lock with omarchy-shell lock wake. That reached our bridge, which had no wake, so the script fell back to lighting the display around the lock. The bridge now forwards wake to the worker, which runs runWake() like 4.6's handler does.
  • Lock state for the shell: 4.6's shell gives the lock service a publishSessionLocked callback, 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 its locked state, or to the in-process fallback, which reports as 4.6's does.
  • Wallpaper design: it now uses the URL 4.6 preloads (?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.py now checks that the shell sees the lock in both bridge and in-process modes, and that lock wake answers unlocked when unlocked and wakes a blanked lock.
  • Every patched file dry-merges onto 4.6 with no conflicts.
  • Tested by hand: lock and unlock on 4.6 after install.sh.

Not covered: lid open on real laptop hardware (that part is tested only through the IPC call).

Xpond added 2 commits December 5, 2026 10:07
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.
@Xpond
Xpond merged commit b6cf4f1 into main Dec 5, 2026
2 checks passed
@Xpond
Xpond deleted the omarchy-4.6 branch December 5, 2026 04:51
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.

1 participant