Compare commits

...

3 commits

Author SHA1 Message Date
437eb35f34 Merge pull request 'fix/workspace-swipe' (#3) from fix/workspace-swipe into main
Some checks failed
Mirror to GitHub / mirror (push) Failing after 2s
Reviewed-on: #3
2026-07-29 20:49:21 +08:00
bc7429ec75 add 3 finger workspace swipe
Some checks failed
Mirror to GitHub / mirror (push) Failing after 4s
2026-07-29 20:48:45 +08:00
5779bc81c8 remove gestures from settings.lua
Some checks failed
Mirror to GitHub / mirror (push) Failing after 3s
2026-07-29 20:44:24 +08:00
2 changed files with 6 additions and 13 deletions

View file

@ -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

View file

@ -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