mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
add JankyBorders option order and set below by default (values: above/below)
This commit is contained in:
parent
4b43b68281
commit
af95f7b7ec
1 changed files with 11 additions and 1 deletions
|
@ -80,6 +80,15 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
order = mkOption {
|
||||
type = types.str;
|
||||
default = "below";
|
||||
example = "above";
|
||||
description = ''
|
||||
Specifies whether borders should be drawn above or below windows.
|
||||
'';
|
||||
};
|
||||
|
||||
blur_radius = mkOption {
|
||||
type = types.float;
|
||||
default = 0.0;
|
||||
|
@ -149,7 +158,8 @@ in {
|
|||
else "off"
|
||||
))
|
||||
++ (optionalArg "blacklist" (joinStrings cfg.blacklist))
|
||||
++ (optionalArg "whitelist" (joinStrings cfg.whitelist));
|
||||
++ (optionalArg "whitelist" (joinStrings cfg.whitelist))
|
||||
++ (optionalArg "order" cfg.order);
|
||||
serviceConfig.KeepAlive = true;
|
||||
serviceConfig.RunAtLoad = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue