mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +00:00
Add NSStatusItemSpacing and NSStatusItemSelectionPadding
Add `NSStatusItemSpacing` and `NSStatusItemSelectionPadding` to `NSGlobalDomain` options. These options control the spacing between and padding inside status icons in the menu bar. With these options, it's possible to squeeze more items on the menu bar, something that's especially useful on machines with a notch. This is a copy of #872, which was closed without being merged.
This commit is contained in:
parent
349a74c66c
commit
57c543d73f
1 changed files with 18 additions and 0 deletions
|
@ -248,6 +248,24 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSStatusItemSpacing = mkOption {
|
||||
type = types.nullOr types.int;
|
||||
default = null;
|
||||
example = 12;
|
||||
description = ''
|
||||
Sets the spacing between status icons in the menu bar. The default is null.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSStatusItemSelectionPadding = mkOption {
|
||||
type = types.nullOr types.int;
|
||||
default = null;
|
||||
example = 6;
|
||||
description = ''
|
||||
Sets the padding around status icons in the menu bar. The default is null.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.InitialKeyRepeat = mkOption {
|
||||
type = types.nullOr types.int;
|
||||
default = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue