mab / dotfiles

Manage my dotfiles with chezmoi
MIT License
2 stars 0 forks source link

Add trackpad settings #104

Open mab opened 1 year ago

mab commented 1 year ago

Should add my default trackpad settings.

Reference:

Related to #81

Get trackpad settings:

defaults read | grep -A 5 trackpad
defaults read | grep -A 5 Multitouch
defaults read com.apple.AppleMultitouchTrackpad
{
    ActuateDetents = 1;
    Clicking = 1;
    DragLock = 0;
    Dragging = 0;
    FirstClickThreshold = 1;
    ForceSuppressed = 0;
    SecondClickThreshold = 1;
    TrackpadCornerSecondaryClick = 0;
    TrackpadFiveFingerPinchGesture = 2;
    TrackpadFourFingerHorizSwipeGesture = 2;
    TrackpadFourFingerPinchGesture = 2;
    TrackpadFourFingerVertSwipeGesture = 2;
    TrackpadHandResting = 1;
    TrackpadHorizScroll = 1;
    TrackpadMomentumScroll = 1;
    TrackpadPinch = 1;
    TrackpadRightClick = 1;
    TrackpadRotate = 1;
    TrackpadScroll = 1;
    TrackpadThreeFingerDrag = 0;
    TrackpadThreeFingerHorizSwipeGesture = 2;
    TrackpadThreeFingerTapGesture = 0;
    TrackpadThreeFingerVertSwipeGesture = 2;
    TrackpadTwoFingerDoubleTapGesture = 1;
    TrackpadTwoFingerFromRightEdgeSwipeGesture = 3;
    USBMouseStopsTrackpad = 0;
    UserPreferences = 1;
    version = 12;
}
mab commented 10 months ago

For Sonoma the API has changed. I haven't found documentation about how to disable natural scrolling via defaults API.