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:
commit
c0d5b8c54d
2 changed files with 17 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue