Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Hyprland #245

Merged
merged 36 commits into from
Nov 7, 2023
Merged

Add support for Hyprland #245

merged 36 commits into from
Nov 7, 2023

Conversation

Schneegans
Copy link
Contributor

@Schneegans Schneegans commented Nov 7, 2023

This finally resolves #234. There are some caveats, though:

For now, you will need at least these window rules on Hyprland:

windowrule = noblur, Kando
windowrule = noborder, Kando
windowrule = noanim, Kando
windowrule = center, Kando
windowrule = size 100% 100%, Kando

And to make the global hotkey working, you have to add this binding to your Hyprland config:

bind = CTRL, Space, global, kando:prototype_menu

@Schneegans Schneegans merged commit a7a2c11 into main Nov 7, 2023
6 checks passed
@Schneegans Schneegans deleted the feature/wlroots branch November 7, 2023 05:26
@vaxerski
Copy link

vaxerski commented Nov 8, 2023

FYI, you can fix the need for the windowrules and the virtual-pointer / virtual-keyboard by using a wlr-layer-shell surface on the overlay layer

Example: https://github.com/emersion/slurp

@Schneegans
Copy link
Contributor Author

Schneegans commented Nov 8, 2023

Thanks for the hint! However I am not sure if and how I could redirect the content of a normal window to such a layer surface...? And the virtual input methods I would need nonetheless for simulating key-presses an pointer-motion events.

@vaxerski
Copy link

vaxerski commented Nov 8, 2023

check slurp's source. Rendering shouldn't differ, you just need to make a different surface.

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.

Add support for wlroots
2 participants