hyprland: place 3-finger workspace swipe after binds, before autostart

The gesture was already on main but dangling at EOF. settings.lua no
longer carries the old hyprlang gestures table.
This commit is contained in:
Breadway 2026-08-15 22:34:31 +08:00
parent a3ead6607a
commit d7c4fbd51f

View file

@ -94,6 +94,12 @@ pcall(function()
bindings = binds.bindings, bindings = binds.bindings,
}) })
end) 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 -- Autostart. Core bootstrap sequence (polkit agent, dark theme, wallpaper
@ -168,10 +174,3 @@ hl.on("hyprland.start", function()
hl.dispatch(hl.dsp.exec_cmd(cmd)) hl.dispatch(hl.dsp.exec_cmd(cmd))
end end
end) end)
hl.gesture({
fingers = 3,
direction = "horizontal",
action = "workspace",
})