hyprland: adapt new gesture config (#1892)

This commit is contained in:
end-4 2025-09-11 07:48:48 +02:00 committed by GitHub
commit d66b0891e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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
window_gap = 4
@ -65,7 +63,7 @@ decoration {
input_methods = true
input_methods_ignorealpha = 0.8
}
shadow {
enabled = true
ignore_window = true
@ -74,7 +72,7 @@ decoration {
render_power = 4
color = rgba(00000010)
}
# Dim
dim_inactive = true
dim_strength = 0.025
@ -116,7 +114,7 @@ input {
numlock_by_default = true
repeat_delay = 250
repeat_rate = 35
follow_mouse = 1
off_window_axis_events = 2