1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

feat: faster mouse speed and smoother clicking on trackpad in darwin

This commit is contained in:
RGBCube 2025-04-14 18:31:43 +03:00
parent b6c6b8365a
commit ad92793d5a
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -7,19 +7,19 @@ in {
AppleScrollerPagingBehavior = true; # Jump to the spot that was pressed in the scrollbar. AppleScrollerPagingBehavior = true; # Jump to the spot that was pressed in the scrollbar.
AppleShowScrollBars = "WhenScrolling"; AppleShowScrollBars = "WhenScrolling";
AppleWindowTabbingMode = "always"; # Always prefer tabs for new windows.
NSWindowShouldDragOnGesture = true; # CMD+CTRL click to drag window. NSWindowShouldDragOnGesture = true; # CMD+CTRL click to drag window.
AppleEnableMouseSwipeNavigateWithScrolls = false; AppleEnableMouseSwipeNavigateWithScrolls = false;
AppleEnableSwipeNavigateWithScrolls = false; AppleEnableSwipeNavigateWithScrolls = false;
AppleWindowTabbingMode = "always"; # Always prefer tabs for new windows.
AppleKeyboardUIMode = 3; # Full keyboard access. AppleKeyboardUIMode = 3; # Full keyboard access.
ApplePressAndHoldEnabled = false; ApplePressAndHoldEnabled = false; # No ligatures when you press and hold a key, just repeat it.
NSScrollAnimationEnabled = true; NSScrollAnimationEnabled = true;
NSWindowResizeTime = 0.001; NSWindowResizeTime = 0.001;
"com.apple.keyboard.fnState" = true; # Invert Fn. "com.apple.keyboard.fnState" = true; # Invert Fn.
"com.apple.trackpad.scaling" = 1.5; # Faster mouse speed.
InitialKeyRepeat = 15; InitialKeyRepeat = 15;
KeyRepeat = 1; KeyRepeat = 1;
@ -37,6 +37,10 @@ in {
# Disable 3 finger horizontal stuff. # Disable 3 finger horizontal stuff.
TrackpadFourFingerHorizSwipeGesture = 0; TrackpadFourFingerHorizSwipeGesture = 0;
TrackpadThreeFingerHorizSwipeGesture = 0; TrackpadThreeFingerHorizSwipeGesture = 0;
# Smooth clicking.
FirstClickThreshold = 0;
SecondClickThreshold = 0;
}; };
system.defaults.CustomSystemPreferences."com.apple.Accessibility".ReduceMotionEnabled = 1; system.defaults.CustomSystemPreferences."com.apple.Accessibility".ReduceMotionEnabled = 1;