On macos we use a 2-finger swipe gesture for going back or forward through the application. It works in almost any application. Linux has only Alt+arrow keys. Is there a ‘hyprland’ way of doing so or triggering keyboard shortcut with touchpad gesture is maximum i can get?
P.S. yeah, i use Vivaldi, the only browser that can’t traverse through history with touchpad so the thing is crucial for me
I don’t have a laptop to test his on, but maybe this work?
gesture = 2, left, dispatcher, exec, wtype -k XF86Forward
gesture = 2, right, dispatcher, exec, wtype -k XF86Back
nah, doesn’t work. wtype is installed and set up prior
tried to replicate other combinations with wtype, they work just fine
Hi, I found a solution where you modify the exec command of the browser you’re on. a little disclaimer, you have to change “brave-browser-stable” to your default exec command. For example mine was just Exec = brave %U so you replace “brave-browser-stable” with just “brave”. you also have to replace every instance of Exec with it’s own modified one.
Might be a driver thing, and it sees two finger swipe as a scroll event, not a gesture event.
If so, you have to bind based on that.
Check wev.