mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-08-16 16:10:39 +03:00
feat: add AppleWindowTabbingMode
option
This commit is contained in:
parent
b8c286c82c
commit
df00ca18a3
@ -152,6 +152,14 @@ in {
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.AppleWindowTabbingMode = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = ''
|
||||
Sets the window tabbing when opening a new document: 'manual', 'always', or 'fullscreen'. The default is 'fullscreen'.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
|
@ -18,6 +18,7 @@
|
||||
system.defaults.NSGlobalDomain.NSAutomaticWindowAnimationsEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSDisableAutomaticTermination = true;
|
||||
system.defaults.NSGlobalDomain.NSDocumentSaveNewDocumentsToCloud = false;
|
||||
system.defaults.NSGlobalDomain.AppleWindowTabbingMode = "always";
|
||||
system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = true;
|
||||
system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode2 = true;
|
||||
system.defaults.NSGlobalDomain.NSTableViewDefaultSizeMode = 2;
|
||||
@ -86,6 +87,7 @@
|
||||
grep "defaults write -g 'NSAutomaticWindowAnimationsEnabled' -bool NO" ${config.out}/activate-user
|
||||
grep "defaults write -g 'NSDisableAutomaticTermination' -bool YES" ${config.out}/activate-user
|
||||
grep "defaults write -g 'NSDocumentSaveNewDocumentsToCloud' -bool NO" ${config.out}/activate-user
|
||||
grep "defaults write -g 'AppleWindowTabbingMode' -string 'always'" ${config.out}/activate-user
|
||||
grep "defaults write -g 'NSNavPanelExpandedStateForSaveMode' -bool YES" ${config.out}/activate-user
|
||||
grep "defaults write -g 'NSNavPanelExpandedStateForSaveMode2' -bool YES" ${config.out}/activate-user
|
||||
grep "defaults write -g 'NSTableViewDefaultSizeMode' -int 2" ${config.out}/activate-user
|
||||
|
Loading…
Reference in New Issue
Block a user