From d737139bee4ea8ec79ddd67c116aff147c82cfb6 Mon Sep 17 00:00:00 2001 From: Moeta Yuko Date: Fri, 29 Aug 2025 16:06:19 +0800 Subject: [PATCH] hyprland: adapt new gesture config --- .config/hypr/hyprland/general.conf | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.config/hypr/hyprland/general.conf b/.config/hypr/hyprland/general.conf index 4097fb8a..f0297b33 100644 --- a/.config/hypr/hyprland/general.conf +++ b/.config/hypr/hyprland/general.conf @@ -5,11 +5,9 @@ monitor=,preferred,auto,1,transform, 0 # HDMI port: mirror display. To see device name, use `hyprctl monitors` # monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1 +gesture = 3, horizontal, workspace gestures { - workspace_swipe = true 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 @@ -22,16 +20,16 @@ general { gaps_in = 4 gaps_out = 5 gaps_workspaces = 50 - + border_size = 1 col.active_border = rgba(0DB7D4FF) col.inactive_border = rgba(31313600) resize_on_border = true no_focus_fallback = true - + allow_tearing = true # This just allows the `immediate` window rule to work - + snap { enabled = true } @@ -46,7 +44,7 @@ dwindle { decoration { rounding = 18 - + blur { enabled = true xray = true @@ -62,7 +60,7 @@ decoration { input_methods = true input_methods_ignorealpha = 0.8 } - + shadow { enabled = true ignore_window = true @@ -71,7 +69,7 @@ decoration { render_power = 4 color = rgba(00000010) } - + # Dim dim_inactive = true dim_strength = 0.025 @@ -113,7 +111,7 @@ input { numlock_by_default = true repeat_delay = 250 repeat_rate = 35 - + follow_mouse = 1 off_window_axis_events = 2