fix/workspace-swipe #3
2 changed files with 6 additions and 13 deletions
|
|
@ -94,6 +94,12 @@ pcall(function()
|
|||
bindings = binds.bindings,
|
||||
})
|
||||
end)
|
||||
-- 3-finger horizontal trackpad swipe → workspace switch (1:1 gesture)
|
||||
hl.gesture({
|
||||
fingers = 3,
|
||||
direction = "horizontal",
|
||||
action = "workspace",
|
||||
})
|
||||
|
||||
-- ---------------------------------------------------------------------------
|
||||
-- Autostart. Core bootstrap sequence (polkit agent, dark theme, wallpaper
|
||||
|
|
|
|||
|
|
@ -112,19 +112,6 @@ local function build_hl_config(v)
|
|||
dwindle = { preserve_split = true },
|
||||
animations = { enabled = true },
|
||||
misc = { disable_hyprland_logo = true, disable_splash_rendering = true },
|
||||
-- 3-finger touchpad swipe switches workspaces (touchscreen/touchpad
|
||||
-- gesture, native to Hyprland — no plugin needed).
|
||||
gestures = {
|
||||
workspace_swipe = true,
|
||||
workspace_swipe_fingers = 3,
|
||||
workspace_swipe_distance = 300,
|
||||
workspace_swipe_invert = true,
|
||||
workspace_swipe_min_speed_to_force = 30,
|
||||
workspace_swipe_cancel_ratio = 0.5,
|
||||
workspace_swipe_create_new = true,
|
||||
workspace_swipe_direction_lock = true,
|
||||
workspace_swipe_forever = false,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue