From 58c249eb8f7220d16182b75b6f90329f857d47f3 Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Sat, 29 Nov 2025 14:17:04 -0800 Subject: [PATCH] update for hyprland 0.51+ --- modules/components/hyprland-config.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/modules/components/hyprland-config.nix b/modules/components/hyprland-config.nix index fa27fb5..4d1e185 100644 --- a/modules/components/hyprland-config.nix +++ b/modules/components/hyprland-config.nix @@ -78,17 +78,9 @@ in ${concatMapStringsSep "\n" (monitor: "monitor=${monitor}") cfg.monitors} ''} - # Gestures + # Gestures (Hyprland 0.51+ syntax) gestures { - workspace_swipe = ${boolToString cfg.gestures.workspaceSwipe} - workspace_swipe_distance = 700 - workspace_swipe_fingers = 3 - workspace_swipe_min_fingers = true - workspace_swipe_cancel_ratio = 0.2 - workspace_swipe_min_speed_to_force = 5 - workspace_swipe_direction_lock = true - workspace_swipe_direction_lock_threshold = 10 - workspace_swipe_create_new = true + gesture = 3, horizontal, workspace } general {