Repository navigation
Move the Mac's trackpad and workspace stepping into Omarchy's platform settings slot - #654
Merged
Merged
Conversation
The early platform slot is for binds; settings Omarchy's defaults may also touch belong after them. The trackpad's tap-to-click default moves to default/hypr/platform/settings/apple.lua, which Omarchy loads after its own defaults and before the theme and the user's files. A runtime without that slot (no default.hypr.platform loader) never loads it, so defaults/apple.lua applies it there instead, as it did before. The three-finger swipe stays in the late slot.
Stepping a swipe by number, into empty workspaces, was set in the late slot and only when Omarchy's own gesture registered, so a user's workspace_swipe_use_r = false next to it was overridden. It is now a Mac setting in settings/apple.lua, loaded before the user's files: their false wins, and a gesture of their own steps the same way unless they say otherwise. The gesture itself stays late, stepping aside for the user's own or omarchy_workspace_gesture = false. The manual says how to turn the stepping off.
maralcbr
force-pushed
the
mac/127-apple-settings-slot
branch
from
September 28, 2026 05:31
f0966e5 to
d5170a2
Compare
maralcbr
marked this pull request as ready for review
September 28, 2026 05:34
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uses the
default/hypr/platform/settingsslot that omacom#13362 (4573758) now carries.defaults/apple.lua(the early slot, meant for binds) to a newsettings/apple.lua. The settings slot loads after Omarchy's defaults and before the theme and the user's files.defaults/apple.luakeeps the lid, capture and keyboard-brightness binds and the menu decorator.workspace_swipe_use_r = truemoves from the lateapple-gestures.luaintosettings/apple.lua, behind the Apple guard. A user'shl.config({ gestures = { workspace_swipe_use_r = false } })in input.lua now wins. Before, the late slot overrode it. Stepping by number is now a Mac default for every workspace swipe, the user's own gesture included. The gesture registration stays late, with theomarchy_workspace_gesture = falseopt-out. The manual says how to turn the stepping off.default.hypr.platformloader. There,defaults/apple.lualoadssettings/apple.luafrom beside it, so both settings still apply before the user's files.Tested in an Arch container (aarch64), against this branch and with
OMARCHY_TEST_RUNTIMEset to omacom#13362 4573758:apple-platform-hooks-test.sh: each device is set once, after Omarchy's defaults where the slot exists, and the user's tap-to-click wins.hyprland-apple-workspace-gesture-test.sh: stepping is on by default on a Mac, off elsewhere, and the user'sfalsewins with either gesture.hyprland-platform-defaults-test.sh,manual-apple-hotkeys-test.shandpackages/omarchy-mac/test/allpass.Second review: no blockers. The manual's wording was corrected, and the test header and one test guard were fixed.