Otter-shell · #53

Add workspace snapping when scroll in overview, and integrate gestures with hyprland gesture delta

ClosedFeatureMedium1 votes1 commentsby Cosmo

when scrolling and stopping the scroll the overview should snap to the closest workspace (snap to the last snapped/selected workspace in the edge case of exactly 50/50) however it shouldn't snap on a touchpad if the finger is still holding postion to achieve 1:1, only be let go.

and for better 1:1 integrate with hyprland delta stuff, and add options to tell the app what direction to pop up from and which one to pop down, that should get us pretty close a kde/gnome quality overview

Discussion

Ferreo

Completed and pushed.

  • otter-overview 04fbb4a: continuous touchpad workspace-strip motion stays 1:1 and snaps on Wayland axis_stop; exact 50/50 returns to the prior selected workspace. Wheel value120 detents accumulate correctly and snap immediately.
  • otter-hypr dade4cb: overview_gesture.install now accepts open_direction / close_direction, with up/down preserved as defaults.
  • Existing live-delta plumbing remains in otter-overview 5cd5bb0 and otter-hypr 9092e72; no duplicate gesture path was added.

Verification: new tie and partial-detent regression tests pass; ReleaseFast tests/builds pass in both repos. Lua direction registration was exercised with a stubbed Hypr API. Headless Sway smoke confirmed otter-overview initializes and remains running. No nested Hyprland session was launched.

Sign in with Discord to comment.