[Hyprland] configure gestures

This commit is contained in:
2025-09-23 11:12:53 +02:00
parent 122f3ab070
commit 17d83a53b7

View File

@@ -39,6 +39,7 @@ input {
natural_scroll = true natural_scroll = true
numlock_by_default = true numlock_by_default = true
repeat_delay = 400
follow_mouse = 2 follow_mouse = 2
mouse_refocus = true mouse_refocus = true
@@ -53,15 +54,33 @@ input {
sensitivity = 0 sensitivity = 0
} }
# ── Cursors ─────────────────────────────────────────────────────────
cursor {
no_warps = false
inactive_timeout = 5
}
# ── Bind config ─────────────────────────────────────────────────────
binds {
workspace_back_and_forth = true
}
# ── Gestures ────────────────────────────────────────────────────────
gestures { gestures {
workspace_swipe_distance = 200 workspace_swipe_distance = 200
workspace_swipe_cancel_ratio = 0.3 workspace_swipe_cancel_ratio = 0.3
workspace_swipe_forever = true workspace_swipe_forever = true
workspace_swipe_direction_lock = false
} }
gesture = 3, horizontal, workspace, gesture = 3, horizontal, workspace,
gesture = 3, down, close gesture = 3, down, close
gesture = 3, up, fullscreen gesture = 3, up, fullscreen
gesture = 3, pinch, resize
gesture = 4, swipe, move
# ──────────────────────────────────────────────────────────────────── # ────────────────────────────────────────────────────────────────────
@@ -78,6 +97,12 @@ general {
no_border_on_floating = false no_border_on_floating = false
} }
# ────────────────────────────────────────────────────────────────────
# ╭────────────────────────────────────────────────╮
# │ Style │
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
decoration { decoration {
inactive_opacity = 1 inactive_opacity = 1
rounding = 10 rounding = 10
@@ -115,7 +140,7 @@ animations {
misc { misc {
disable_hyprland_logo = true disable_hyprland_logo = true
disable_splash_rendering = false disable_splash_rendering = false
vrr = 2 vrr = 3
allow_session_lock_restore = true allow_session_lock_restore = true
} }
@@ -124,9 +149,3 @@ dwindle {
force_split = 2 force_split = 2
preserve_split = true preserve_split = true
} }
cursor {
no_warps = false
inactive_timeout = 60
}