Last active
September 9, 2026 08:57
-
-
Save DanielLemky/671889f0eee518e3690cca18a0ad648e to your computer and use it in GitHub Desktop.
Mac-like trackpad tuning for Omarchy on an Apple Silicon MacBook Pro
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
| -- Add these settings to ~/.config/hypr/input.lua on Omarchy. | |
| hl.config({ | |
| input = { | |
| touchpad = { | |
| natural_scroll = true, | |
| tap_to_click = true, | |
| disable_while_typing = true, | |
| tap_and_drag = false, | |
| drag_lock = false, | |
| clickfinger_behavior = true, | |
| scroll_factor = 0.2, | |
| }, | |
| }, | |
| -- Commit a workspace swipe after 25% travel. | |
| gestures = { | |
| workspace_swipe_cancel_ratio = 0.25, | |
| }, | |
| }) | |
| -- Apply custom acceleration only to the built-in MacBook trackpad. | |
| hl.device({ | |
| name = "apple-spi-trackpad", | |
| accel_profile = "custom 1.0 0.0 0.05 0.15 0.35 0.75 1.25", | |
| scroll_points = "1.0 0.0 0.02 0.07 0.2 0.6 1.0", | |
| }) | |
| -- Three-finger horizontal workspace swipe. | |
| hl.gesture({ | |
| fingers = 3, | |
| direction = "horizontal", | |
| action = "workspace", | |
| scale = 0.75, | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment