1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-05 08:17:01 +00:00

Add support for controlling the behaviour of document-proxy icons

Specifically this adds options for:

- system.defaults.universalaccess.showWindowTitlebarIcons
- system.defaults.NSGlobalDomain.NSToolbarTitleViewRolloverDelay

See https://macos-defaults.com/finder/nstoolbartitleviewrolloverdelay.html#toolbar-title-rollover-delay
This commit is contained in:
Nicola Tuveri 2024-11-16 15:44:27 +02:00
parent 2bcef10f43
commit 9f1984bfee
2 changed files with 19 additions and 1 deletions

View file

@ -430,6 +430,15 @@ in {
'';
};
};
system.defaults.NSGlobalDomain.NSToolbarTitleViewRolloverDelay = mkOption {
type = types.nullOr types.float;
default = null;
description = ''
Toolbar title rollover delay.
Choose the delay of the auto-hidden document-proxy icon.
com.apple.universalaccess showWindowTitlebarIcons must be set to false.
'';
};
};
}

View file

@ -52,5 +52,14 @@ with lib;
'';
};
#system.defaults.universalaccess.showWindowTitlebarIcons = mkOption {
# # Disabled because it requires sudo
# # type = types.nullOr types.bool;
# default = null;
# description = ''
# Always show folder icon before title in the title bar
# '';
#};
};
}