hyprland: adapt new gesture config

This commit is contained in:
Moeta Yuko
2025-08-29 16:06:19 +08:00
parent dcfdb2ecff
commit d737139bee
+8 -10
View File
@@ -5,11 +5,9 @@ monitor=,preferred,auto,1,transform, 0
# HDMI port: mirror display. To see device name, use `hyprctl monitors` # HDMI port: mirror display. To see device name, use `hyprctl monitors`
# monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1 # monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1
gesture = 3, horizontal, workspace
gestures { gestures {
workspace_swipe = true
workspace_swipe_distance = 700 workspace_swipe_distance = 700
workspace_swipe_fingers = 3
workspace_swipe_min_fingers = true
workspace_swipe_cancel_ratio = 0.2 workspace_swipe_cancel_ratio = 0.2
workspace_swipe_min_speed_to_force = 5 workspace_swipe_min_speed_to_force = 5
workspace_swipe_direction_lock = true workspace_swipe_direction_lock = true
@@ -22,16 +20,16 @@ general {
gaps_in = 4 gaps_in = 4
gaps_out = 5 gaps_out = 5
gaps_workspaces = 50 gaps_workspaces = 50
border_size = 1 border_size = 1
col.active_border = rgba(0DB7D4FF) col.active_border = rgba(0DB7D4FF)
col.inactive_border = rgba(31313600) col.inactive_border = rgba(31313600)
resize_on_border = true resize_on_border = true
no_focus_fallback = true no_focus_fallback = true
allow_tearing = true # This just allows the `immediate` window rule to work allow_tearing = true # This just allows the `immediate` window rule to work
snap { snap {
enabled = true enabled = true
} }
@@ -46,7 +44,7 @@ dwindle {
decoration { decoration {
rounding = 18 rounding = 18
blur { blur {
enabled = true enabled = true
xray = true xray = true
@@ -62,7 +60,7 @@ decoration {
input_methods = true input_methods = true
input_methods_ignorealpha = 0.8 input_methods_ignorealpha = 0.8
} }
shadow { shadow {
enabled = true enabled = true
ignore_window = true ignore_window = true
@@ -71,7 +69,7 @@ decoration {
render_power = 4 render_power = 4
color = rgba(00000010) color = rgba(00000010)
} }
# Dim # Dim
dim_inactive = true dim_inactive = true
dim_strength = 0.025 dim_strength = 0.025
@@ -113,7 +111,7 @@ input {
numlock_by_default = true numlock_by_default = true
repeat_delay = 250 repeat_delay = 250
repeat_rate = 35 repeat_rate = 35
follow_mouse = 1 follow_mouse = 1
off_window_axis_events = 2 off_window_axis_events = 2