nix: add dots_center

This commit is contained in:
Austin Horstman 2024-02-21 12:12:09 -06:00 committed by Mihai Fufezan
parent 9d8ee2a1d0
commit 9dea7c2f55

View file

@ -31,7 +31,7 @@ in {
description = "Hides the cursor instead of making it visible";
type = bool;
default = true;
};
};
};
backgrounds = mkOption {
@ -103,6 +103,12 @@ in {
default = 0.15;
};
dots_center = mkOption {
description = "Center position of the dots in the input field";
type = bool;
default = true;
};
outer_color = mkOption {
description = "The outer color of the input field";
type = str;
@ -262,6 +268,7 @@ in {
outline_thickness = ${toString input-field.outline_thickness}
dots_size = ${toString input-field.dots_size}
dots_spacing = ${toString input-field.dots_spacing}
dots_center = ${boolToString input-field.dots_center}
outer_color = ${input-field.outer_color}
inner_color = ${input-field.inner_color}
font_color = ${input-field.font_color}