Repository navigation
Conversation
Apple Silicon Macs get the three-finger horizontal workspace swipe without editing input.lua. The default loads after the user's files and steps aside when the user already set a three-finger sideways gesture, so uncommenting the input.lua example does not trip Hyprland's duplicate-gesture error. omarchy_workspace_gesture = false turns it off. x86 keeps no default gesture. Ported from the merged #629 on quattro-upstream, onto quattro's runtime layout and its omarchy-hw-apple detection. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Hyprland's workspace swipe steps only through workspaces that exist and never out of an empty one into a new one, so on a fresh desktop the Mac swipe did nothing. The Mac gesture now also sets workspace_swipe_use_r, which steps by number and reaches empty workspaces as Spaces do in macOS. It is set only with Omarchy's own gesture, so a user's gesture or the opt-out keeps Hyprland's stepping. Ported from the merged #633 on quattro-upstream. quattro has no platform settings slot (#654), so this stays in the gesture module. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
[Medium impact] The PR appears safe to merge; no actionable defects were established. SummaryAdds a default three-finger workspace swipe on Apple Silicon Macs.
No actionable defects were established. Review was based on source inspection; no live Hyprland or hardware verification was performed.
|
|
Closing this: the gesture default belongs upstream, and upstream already has it. omacom/omarchy |
Fresh installs use
quattro(the default branch, andDEFAULT_REFinbin/omarchy-mac-setup), but the swipe from #629 and #633 merged intoquattro-upstream, soquattroships no Mac workspace gesture. This ports both onto quattro's runtime layout:default/hypr/apple-gestures.lualoads fromdefault/hypr/toggles.luaafter the user's files, on Apple Silicon only (omarchy-hw-apple). It steps aside for a user's own three-finger sideways gesture,omarchy_workspace_gesture = falseturns it off, and it setsworkspace_swipe_use_rso the swipe reaches empty workspaces.Existing installs need no migration: the shipped
hyprland.luaalready requiresdefault.hypr.toggles, so they pick it up on update.Differences from the originals: #654 (settings slot) and #631/#660 (platform root) are not on quattro, so
use_rstays in the gesture module as in #633. A user'sworkspace_swipe_use_r = falseis therefore overridden while Omarchy's gesture is active; their own gesture or the opt-out is the way out. The Mac manual does not exist on quattro, so the note is inmanual/34-keyboard-mouse-trackpad.md.Related: #339 (touchpad-gestures toggle, off by default) is open against quattro and touches the same manual section and
config/hypr/input.lua. This PR does not depend on it.Test plan
test/shell.d/hyprland-apple-workspace-gesture-test.sh(adapted from the one in Swipe between workspaces with three fingers on Macs by default #629/Swipe into empty workspaces on Macs #633) passes, and fails without the change./test/all: test/cli passes; test/shell has the same 50 failures as untouched quattro 7cb792e, none new (sandbox: no omarchy-pkgs checkout, read-only mise)omarchy commands --checkpasses