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