1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

Merge pull request #958 from kamushadenes/master

Add support for trackpad force click
This commit is contained in:
Michael Hoang 2024-05-30 00:41:28 +10:00 committed by GitHub
commit c0d5b8c54d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 0 deletions

View file

@ -342,6 +342,14 @@ in {
'';
};
system.defaults.NSGlobalDomain."com.apple.trackpad.forceClick" = mkOption {
type = types.nullOr types.bool;
default = null;
description = ''
Whether to enable trackpad force click.
'';
};
system.defaults.NSGlobalDomain."com.apple.springing.enabled" = mkOption {
type = types.nullOr types.bool;
default = null;

View file

@ -63,5 +63,14 @@ with lib;
'';
};
system.defaults.trackpad.TrackpadThreeFingerTapGesture = mkOption {
type = types.nullOr (types.enum [ 0 2 ]);
default = null;
description = ''
0 to disable three finger tap, 2 to trigger Look up & data detectors.
The default is 2.
'';
};
};
}