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 {