New Gesture Rework 0.51

Feeling dumb ever since updating to 0.51. i figured out the basic mouse pad gestures but, i can’t seem to pull off the last gesture. I’m looking to have 4 finger horizontal swipe to move acivewindow workspace Up/Down. Anyone have a clue how to pull that off with a dispatch command?

This is currently what I have.

}

gestures {
workspace_swipe_invert = true
workspace_swipe_distance = 400

# swipe left/right between workspaces
gesture = 3, horizontal, workspace

# optional extras
gesture = 3, pinchin, fullscreen
gesture = 3, pinchout, float

# 4 Fingers pinchin to close active
gesture = 4, pinchout, close

# 4 Fingers up to Move to Special Workspace
gesture = 4, vertical, special

# 4 Fingers Horizontal Moves active Window

}

I don’t understand…

I’m trying to link 4 finger horizontal swipes to move the active window +1 workspace or -1 workspace. (Bonus if you were able to move the active up one and the workspace focus would also go up one :slight_smile: ) I didn’t know if it was possible.

4 finger gesture left to move the active window up one workspace. (same as “bind = $mainMod SHIFT, EQUAL, movetoworkspacesilent, e+1” )

4 finger gesture right to move active window down one workspace (“bind = $mainMod SHIFT, EQUAL, movetoworkspacesilent, e-1”)

I hope that explains things. I was looking at the wiki and it looks like you can perform dispatch then variable. It would be useful to me on a laptop with limited space and having a ton of windows open and shifting them to different workspaces. (I know the keyboard shortcuts are easy.)

gesture = 4, left, dispatcher, movetoworkspacesilent e-1?

That one didn’t work. It’s ok. I think there was a custom script somewhere to hold the active window in “special and move the workspace Up by 1 / down by one and drop the active window. I’ll look into it. thanks. Sorry for the badly worded question.

I found the behavior I was looking for but, it’s definitely not polished. I futzed around with the help of AI to get the functionality and a notify message. (I would prefer if the message wasn’t persistent but couldn’t get it to go away)

Gesture List and binds from settings.conf (~/.config/hypr/custom.d/regular/)) relabel to .conf

settings.txt (2.7 KB)

binds.txt (2.9 KB)

Scripts to preform 4 finger gestures horizontal to move acitve to special workspace & 4 fingers down to place active window to current workspace from special workspace. (Place in ~/.config/hypr/scripts/) relabel to .sh

float_movetoWS.txt (703 Bytes)

special_to_workspace.txt (563 Bytes)

I ONLY use gestures on my current laptop. If I am docked, I’m using the keyboard shortcuts as they are faster and convenient. (Laptop Model is Framework 13)