ITADN

Feat: touch swipe

#85Pull RequestLeVraiArdox 创建于 2025-09-16
L
LeVraiArdoxcommented
This PR adds the possibility to add touchpad swipe binds. It solves #52 eg: ```toml [gesturebinds] 4-left = "focus-next-workspace" # Swipe to the left with 4 fingers 4-down = "focus-previous-workspace" 3-up = "fullscreen-focused-window" ``` ### Todo - [x] Implement basic actions and configuration - [x] Animate the workspace switch according to the position of the slide - [x] Make the actions oneshot (right now, it's doing it multiple times in a single swipe) - [x] Make the prev ws action works (for now, it somehow starts the animation to go to the prev ws, but then goes to the next) - [x] Add limits at first and last ws - [x] Make the swipe logic attached to the monitor instead of the workspaces to prevent the void gap
合并状态:未合并 4 条评论