Repository navigation
Keep Islands loading on Omarchy 4.6 - #11
Merged
Merged
Conversation
Omarchy 4.6 (quattro, v4.6.0-rc1) removed two things that Islands uses: - ScreenMoveRemap from qs.Ui (omacom/omarchy#17229). Hyprland 0.57 moves layer surfaces with their monitor, so the guard is gone. The missing type stops Bar.qml from loading, so the bar does not show. Remove the guard, as the stock bar did. - The center peek properties from PluginBarApi (omacom/omarchy#18524). Setting a property that does not exist throws, which stops bindPluginBarApi and leaves plugin widgets without a working bar API. Set these properties only when the API still has them, so Omarchy 4.5 keeps its behavior. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Omarchy 4.6 (
quattro, already inv4.6.0-rc1) removed two things that Islands uses. Without this fix, the Islands bar does not load on 4.6.Problem
ScreenMoveRemapis gone fromqs.Ui(Stop the bar blinking after a monitor move, and polish the display panel omacom/omarchy#17229, commit796e169a). Hyprland 0.57 moves layer surfaces with their monitor, so Omarchy removed the guard. Islands still used it inBarPanel. QML stops with "ScreenMoveRemap is not a type", and the bar does not show.PluginBarApi(Reveal hidden indicators only when hovering their own block omacom/omarchy#18524, commitc149addc):centerSectionRevealHeld,_centerHoverRevealSuppressedand_setCenterHoverRevealSuppressed. Islands set them inbindPluginBarApi. Setting a property that does not exist throwsCannot assign to non-existent property. The error stopsbindPluginBarApi, so plugin widgets do not get a working bar API.Fix
ScreenMoveRemapblock and thevisible: !remapGuard.remappingbinding, as the stock bar did.if ("…" in api)). On Omarchy 4.5 the behavior does not change. On 4.6 Islands skips them.Known limit on Omarchy 4.5
On Omarchy 4.5 with Hyprland 0.56, the bar can stay at its old position after a monitor layout change, until the shell restarts. I did not keep a local copy of the guard. On Hyprland 0.57 it makes the bar disappear for a moment after every monitor move, which is why Omarchy removed it.
Testing
qmllint Bar.qml: no syntax errors, and the same warnings as onmain.incheck isfalsefor a removed property. Setting a function on the API aftercreateObjectworks.v4.6.0-rc1machine before merging.🤖 Generated with Claude Code