refactor: move max into dentritic pattern
This commit is contained in:
59
modules/common/features/hyprland/hyprlock.nix
Normal file
59
modules/common/features/hyprland/hyprlock.nix
Normal file
@@ -0,0 +1,59 @@
|
||||
{ ... }: {
|
||||
flake.homeModules.commonFeatureHyprlock = { ... }: {
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
"$color" = "rgba(26,27,38,1.0)";
|
||||
"$inner_color" = "rgba(26,27,38,0.8)";
|
||||
"$outer_color" = "rgba(205,214,244,1.0)";
|
||||
"$font_color" = "rgba(205,214,244,1.0)";
|
||||
"$check_color" = "rgba(68, 157, 171, 1.0)";
|
||||
|
||||
general = {
|
||||
ignore_empty_input = true;
|
||||
};
|
||||
|
||||
background = {
|
||||
monitor = "";
|
||||
color = "$color";
|
||||
# path = "~/Downloads/wallpaper.png";
|
||||
blur_passes = 3;
|
||||
};
|
||||
|
||||
animations = {
|
||||
enabled = true;
|
||||
};
|
||||
|
||||
input-field = {
|
||||
monitor = "";
|
||||
size = "650, 100";
|
||||
position = "0, 0";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
|
||||
inner_color = "$inner_color";
|
||||
outer_color = "$outer_color";
|
||||
outline_thickness = 4;
|
||||
|
||||
font_family = "JetBrainsMono Nerd Font";
|
||||
font_color = "$font_color";
|
||||
|
||||
placeholder_text = "Enter Password";
|
||||
check_color = "$check_color";
|
||||
fail_text = "<i>$FAIL ($ATTEMPTS)</i>";
|
||||
|
||||
rounding = 0;
|
||||
shadow_passes = 0;
|
||||
fade_on_empty = false;
|
||||
};
|
||||
|
||||
auth = {
|
||||
"fingerprint:enabled" = true;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user