Remove duplicate password field
This commit is contained in:
parent
389b051a7a
commit
0a0f1377a1
1 changed files with 9 additions and 25 deletions
|
@ -6,7 +6,12 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf mkEnableOption mkOption types;
|
inherit (lib)
|
||||||
|
mkIf
|
||||||
|
mkEnableOption
|
||||||
|
mkOption
|
||||||
|
types
|
||||||
|
;
|
||||||
|
|
||||||
cfg = config.${namespace}.programs.hyprlock;
|
cfg = config.${namespace}.programs.hyprlock;
|
||||||
in
|
in
|
||||||
|
@ -24,7 +29,7 @@ in
|
||||||
|
|
||||||
settings = mkOption {
|
settings = mkOption {
|
||||||
type = types.attrs;
|
type = types.attrs;
|
||||||
default = {};
|
default = { };
|
||||||
description = ''
|
description = ''
|
||||||
Additional hyprlock configuration settings
|
Additional hyprlock configuration settings
|
||||||
'';
|
'';
|
||||||
|
@ -75,27 +80,6 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
# Input field for password
|
|
||||||
input-field = [
|
|
||||||
{
|
|
||||||
monitor = "";
|
|
||||||
size = "300, 50";
|
|
||||||
outline_thickness = 2;
|
|
||||||
dots_size = 0.2;
|
|
||||||
dots_spacing = 0.2;
|
|
||||||
dots_center = true;
|
|
||||||
outer_color = "$lavender";
|
|
||||||
inner_color = "$surface0";
|
|
||||||
font_color = "$text";
|
|
||||||
fade_on_empty = false;
|
|
||||||
placeholder_text = "<span foreground=\"##$textAlpha\">Password...</span>";
|
|
||||||
hide_input = false;
|
|
||||||
position = "0, -120";
|
|
||||||
halign = "center";
|
|
||||||
valign = "center";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
# Time label
|
# Time label
|
||||||
label = [
|
label = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue