hyprgrass: Unable to get gestures to work
Hi, I’ve been trying to configure my Surface Pro 4 to work with Hyprland. Saw this plugin and thought it might be handy for navigation, especially if I detach the keyboard. However, I can’t seem to get the plugin to respond at all.
I’ve tried installing via Hyprload as well as compiling manually and loading in my hyprland config with hyprctl plugin load /path/to/libhyprgrass.so
.
Interestingly, Hyprgrass doesn’t show up in the plugin list with hyprload plugin list
if I’ve loaded it through Hyprload, which is what prompted me to try installing it manually, but does when manually executing the one compiled from source, though I don’t know if this is a quirk of Hyprload itself.
I don’t know if it’s anything to do with the way I configured it, although I’m fairly certain I’ve followed the readme to a T - my config is as follows:
gestures {
workspace_swipe = true
workspace_swipe_cancel_ratio = 0.15
}
plugin {
touch_gestures {
sensitivity = 4.0
workspace_swipe_fingers = 3
}
}
Current gesture bindings are:
bind = , edge:r:l, exec, notify-send "Hello there!"
bind = , swipe:1:d, exec, notify-send "Hello there!"
bind = , swipe:4:d, killactive
(I set it to execute notify-send as a way of testing, though I also tried the top 2 with just the standard workspace +1
command, but that doesn’t appear to have any effect either…)
Am I missing something?
I apologise in advance if I’ve made any rookie mistakes here. Still trying to wrap my head around Hyprland and everything associated with it!
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Reactions: 2
- Comments: 18 (6 by maintainers)
I finally managed to take another look at this. I re-compiled Hyprland, this time directly from the source code so that I now have the latest version. I was still having a few issues with crashes - for some reason it would crash if I specifically used a Swipe gesture after using an Edge gesture.
Then I stupidly realised I was still on the
feat HL version check
branch that you setup to try and fix the original issue. I modified my Hyprload.toml to re-download the main branch and now everything works fine!Thank you so much for your help @horriblename ! we can close this ticket now
3545 will be merged once fufexan is resurrected
hyprgrass @ 590b197d61694f44998f0195d07602e682dd95bb + hyprland @ 4d6fa6ed0c6f10671c2bee337dc026f68cc12989 has fixed all my issues! Both #45 and #47.
Thanks for your work 😃
it works for me on Hyprland 0.30, but it should work on any version after the plugin addition
That’s my bad actually, forgot to update version number in the source file
@N0tallion6 @xVermillionx @crimist since yall seem to be facing the same issue I’ll let you know here:
I’m waiting for https://github.com/hyprwm/Hyprland/pull/3545 to get merged before I do anything. Basically I’d be able to check for version mismatch - if it is one, there’s nothing to fix on my end; if it isn’t one… I’ll figure it out when it comes to that