From 798ecf40a2c63adfde84fc3ce896fc2664045a0f Mon Sep 17 00:00:00 2001 From: Dylan De Faoite Date: Mon, 16 Mar 2026 22:26:54 +0000 Subject: [PATCH] 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. --- .config/hypr/decoration.conf | 2 +- .config/hypr/hypridle.conf | 5 +++++ .config/hypr/input.conf | 13 +++++++++---- 3 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 .config/hypr/hypridle.conf diff --git a/.config/hypr/decoration.conf b/.config/hypr/decoration.conf index 5c8df2d..5b742a8 100644 --- a/.config/hypr/decoration.conf +++ b/.config/hypr/decoration.conf @@ -54,7 +54,7 @@ animations { animation = windowsOut, 1, 4, breeze, slidefade # Workspaces: airy glide, finishes fast - animation = workspaces, 1, 5, overshoot, slidefade + animation = workspaces, 1, 10, overshoot, slidefade # Subtle polish animation = fade, 1, 4, breeze diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf new file mode 100644 index 0000000..7480935 --- /dev/null +++ b/.config/hypr/hypridle.conf @@ -0,0 +1,5 @@ +general { + lock_cmd = pidof hyprlock || hyprlock + before_sleep_cmd = loginctl lock-session +} + diff --git a/.config/hypr/input.conf b/.config/hypr/input.conf index 63d8fc3..e19779f 100644 --- a/.config/hypr/input.conf +++ b/.config/hypr/input.conf @@ -7,13 +7,12 @@ input { follow_mouse = 1 accel_profile = flat - force_no_accel=2 - sensitivity = 1 + sensitivity = 0.75 touchpad { natural_scroll = true - scroll_factor = 0.5 + scroll_factor = 0.45 } } @@ -22,5 +21,11 @@ device { 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