diff options
| author | Michael Hoang <Enzime@users.noreply.github.com> | 2024-10-04 09:48:17 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-04 09:48:17 +1000 |
| commit | 8c8388ade72e58efdeae71b4cbb79e872c23a56b (patch) | |
| tree | efc6e87f952447b5ea56d2f40ef13666acfe2eda /modules | |
| parent | c266b57bbea24083de4aaedd0921da1e46b2bd9f (diff) | |
| parent | 2893a1bcf71891c1db934773bc3c7ed46b0a1448 (diff) | |
Merge pull request #1095 from aspauldingcode/master
jankyborders service option order above or below
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/services/jankyborders/default.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/modules/services/jankyborders/default.nix b/modules/services/jankyborders/default.nix index 92ec1a1..cb7ab1e 100644 --- a/modules/services/jankyborders/default.nix +++ b/modules/services/jankyborders/default.nix @@ -80,6 +80,15 @@ in { ''; }; + order = mkOption { + type = types.enum [ "above" "below" ]; + 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; }; |
