mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-09-11 12:49:18 +03:00
feat: add AppleScrollerPagingBehavior
option
This commit is contained in:
parent
b8c286c82c
commit
ce785ccacf
@ -88,6 +88,14 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
system.defaults.NSGlobalDomain.AppleScrollerPagingBehavior = mkOption {
|
||||||
|
type = types.nullOr types.bool;
|
||||||
|
default = null;
|
||||||
|
description = ''
|
||||||
|
Jump to the spot that's clicked on the scroll bar. The default is false.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = mkOption {
|
system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = mkOption {
|
||||||
type = types.nullOr types.bool;
|
type = types.nullOr types.bool;
|
||||||
default = null;
|
default = null;
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = true;
|
system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = true;
|
||||||
system.defaults.NSGlobalDomain.AppleShowAllExtensions = true;
|
system.defaults.NSGlobalDomain.AppleShowAllExtensions = true;
|
||||||
system.defaults.NSGlobalDomain.AppleShowScrollBars = "Always";
|
system.defaults.NSGlobalDomain.AppleShowScrollBars = "Always";
|
||||||
|
system.defaults.NSGlobalDomain.AppleScrollerPagingBehavior = true;
|
||||||
system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = false;
|
system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = false;
|
||||||
system.defaults.NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = false;
|
system.defaults.NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = false;
|
||||||
system.defaults.NSGlobalDomain.NSAutomaticPeriodSubstitutionEnabled = false;
|
system.defaults.NSGlobalDomain.NSAutomaticPeriodSubstitutionEnabled = false;
|
||||||
@ -78,6 +79,7 @@
|
|||||||
grep "defaults write -g 'ApplePressAndHoldEnabled' -bool YES" ${config.out}/activate-user
|
grep "defaults write -g 'ApplePressAndHoldEnabled' -bool YES" ${config.out}/activate-user
|
||||||
grep "defaults write -g 'AppleShowAllExtensions' -bool YES" ${config.out}/activate-user
|
grep "defaults write -g 'AppleShowAllExtensions' -bool YES" ${config.out}/activate-user
|
||||||
grep "defaults write -g 'AppleShowScrollBars' -string 'Always'" ${config.out}/activate-user
|
grep "defaults write -g 'AppleShowScrollBars' -string 'Always'" ${config.out}/activate-user
|
||||||
|
grep "defaults write -g 'AppleScrollerPagingBehavior' -bool YES" ${config.out}/activate-user
|
||||||
grep "defaults write -g 'NSAutomaticCapitalizationEnabled' -bool NO" ${config.out}/activate-user
|
grep "defaults write -g 'NSAutomaticCapitalizationEnabled' -bool NO" ${config.out}/activate-user
|
||||||
grep "defaults write -g 'NSAutomaticDashSubstitutionEnabled' -bool NO" ${config.out}/activate-user
|
grep "defaults write -g 'NSAutomaticDashSubstitutionEnabled' -bool NO" ${config.out}/activate-user
|
||||||
grep "defaults write -g 'NSAutomaticPeriodSubstitutionEnabled' -bool NO" ${config.out}/activate-user
|
grep "defaults write -g 'NSAutomaticPeriodSubstitutionEnabled' -bool NO" ${config.out}/activate-user
|
||||||
|
Loading…
Reference in New Issue
Block a user