1
0
Fork 0
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:
aspauldingcode 2024-09-29 17:29:14 -06:00
parent 4b43b68281
commit af95f7b7ec

View file

@ -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;
};