mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-16 05:18:17 +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 {
|
blur_radius = mkOption {
|
||||||
type = types.float;
|
type = types.float;
|
||||||
default = 0.0;
|
default = 0.0;
|
||||||
|
@ -149,7 +158,8 @@ in {
|
||||||
else "off"
|
else "off"
|
||||||
))
|
))
|
||||||
++ (optionalArg "blacklist" (joinStrings cfg.blacklist))
|
++ (optionalArg "blacklist" (joinStrings cfg.blacklist))
|
||||||
++ (optionalArg "whitelist" (joinStrings cfg.whitelist));
|
++ (optionalArg "whitelist" (joinStrings cfg.whitelist))
|
||||||
|
++ (optionalArg "order" cfg.order);
|
||||||
serviceConfig.KeepAlive = true;
|
serviceConfig.KeepAlive = true;
|
||||||
serviceConfig.RunAtLoad = true;
|
serviceConfig.RunAtLoad = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue