mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
add NSGlobalDomain.AppleSpacesSwitchOnActivate
option
This commit is contained in:
parent
21fe31f264
commit
3b087efcbd
3 changed files with 14 additions and 0 deletions
|
@ -95,6 +95,14 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.AppleSpacesSwitchOnActivate = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether or not to switch to a workspace that has a window of the application open, that is switched to. The default is true.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
|
|
|
@ -48,6 +48,11 @@ defaults write -g 'AppleShowScrollBars' $'<?xml version="1.0" encoding="UTF-8"?>
|
|||
<plist version="1.0">
|
||||
<string>Always</string>
|
||||
</plist>'
|
||||
defaults write -g 'AppleSpacesSwitchOnActivate' $'<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<false/>
|
||||
</plist>'
|
||||
defaults write -g 'AppleWindowTabbingMode' $'<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
system.defaults.NSGlobalDomain.AppleShowAllExtensions = true;
|
||||
system.defaults.NSGlobalDomain.AppleShowScrollBars = "Always";
|
||||
system.defaults.NSGlobalDomain.AppleScrollerPagingBehavior = true;
|
||||
system.defaults.NSGlobalDomain.AppleSpacesSwitchOnActivate = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticInlinePredictionEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = false;
|
||||
|
|
Loading…
Reference in a new issue