hyprland: adapt new gesture config

This commit is contained in:
Moeta Yuko 2025-08-29 16:06:19 +08:00
parent dcfdb2ecff
commit d737139bee

View file

@ -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