fix(hypr): adjust gesture settings for smoother workspace swaps

It turns out there are options for adjust the cancelling ratio and force
speed for workspace animations. This makes it much closer to real MacOS
animations.

This was tested against Jas's Macbook Air - M1 and they seem quite
closer.
This commit is contained in:
2026-03-16 22:26:54 +00:00
parent eabcc3de6b
commit 798ecf40a2
3 changed files with 15 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ animations {
animation = windowsOut, 1, 4, breeze, slidefade animation = windowsOut, 1, 4, breeze, slidefade
# Workspaces: airy glide, finishes fast # Workspaces: airy glide, finishes fast
animation = workspaces, 1, 5, overshoot, slidefade animation = workspaces, 1, 10, overshoot, slidefade
# Subtle polish # Subtle polish
animation = fade, 1, 4, breeze animation = fade, 1, 4, breeze

View File

@@ -0,0 +1,5 @@
general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
}

View File

@@ -7,13 +7,12 @@ input {
follow_mouse = 1 follow_mouse = 1
accel_profile = flat accel_profile = flat
force_no_accel=2
sensitivity = 1 sensitivity = 0.75
touchpad { touchpad {
natural_scroll = true natural_scroll = true
scroll_factor = 0.5 scroll_factor = 0.45
} }
} }
@@ -22,5 +21,11 @@ device {
sensitivity = 0 sensitivity = 0
} }
gesture = 3, horizontal, workspace gestures {
workspace_swipe_cancel_ratio = 0
workspace_swipe_min_speed_to_force = 0
}
gesture = 3, horizontal, scale: 0.5, workspace
gesture = 3, down, fullscreen gesture = 3, down, fullscreen