Repository navigation
Run under non-Hyprland compositors and fit narrow screens - #121
Merged
Merged
Conversation
Without wl-clipboard the watcher exits 127 straight away, and the 2 s restart turned that into a new process every two seconds for as long as the shell ran. Exit 127 now waits a minute before trying again; any other exit still restarts after 2 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
contentReady waited for a Hyprland monitor matching the output and for its scale, so under labwc, sway or any other wlroots compositor the launcher mapped but never showed its card. When HYPRLAND_INSTANCE_SIGNATURE is unset, skip the focused-monitor lookup, the monitor and scale checks, refreshMonitors and the omacast submap; the surface having the output's size is enough. Under Hyprland nothing changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a screen under 500 px wide (a phone, or a small portrait display) the card sits just under the bar instead of a quarter of the way down, so the search field and the first results stay above an on-screen keyboard. Its full height is measured from there, leaving one gap at the bottom. Wider screens keep today's placement. 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.
omacast waited for a Hyprland monitor before showing its card. Under labwc, sway and other wlroots compositors, the launcher mapped but never appeared.
HYPRLAND_INSTANCE_SIGNATUREis unset, the Hyprland-only steps are skipped: the focused monitor, the monitor/scale gate,refreshMonitorsand the omacast submap dispatches. Under Hyprland nothing changes.Style.bar.sizeHorizontal), so the search field stays above an on-screen keyboard.tests/content-ready.test.jscovers the non-Hyprland case, andnode --test tests/*.test.jspasses. Tested on an iPhone 6 (375×667 logical, portrait) under labwc with Omarchy's shell: the launcher opens under the bar and searches.🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge; no actionable issues were found.Summary
The launcher can reveal its card without a Hyprland monitor and moves the card near the top on narrow screens.
No actionable issues were found. Tests and desktop rendering were not run during this review.
Reviews (1) · Last reviewed commit: "Keep the card at the top on narrow scree..." · Reviewed by Greptile