configuration.nix/home/wm/addon/hyprlock/default.nix

42 lines
1,009 B
Nix
Raw Permalink Normal View History

2024-05-12 18:38:07 +05:30
_: {
programs.hyprlock = {
enable = true;
2024-05-12 19:05:49 +05:30
settings = {
general = {
ignore_empty_input = true;
2024-05-15 02:24:54 +05:30
hide_cursor = true;
2024-05-12 19:05:49 +05:30
};
background = {
path = "screenshot";
blur_passes = 2;
blur_size = 5;
};
2024-05-15 02:24:54 +05:30
input-field = {
outer_color = "rgb(bd93f9)";
inner_color = "rgb(282a36)";
font_color = "rgb(f8f8f2)";
check_color = "rgb(f1fa8c)";
fail_color = "rgb(ff5555)";
size = "300, 48";
outline_thickness = 1;
position = "0, 48";
rounding = 10;
halign = "center";
valign = "bottom";
placeholder_text = ''<span font_family="Fira Code">password</span>'';
fail_text = "🖕";
};
2024-05-15 02:25:01 +05:30
image = {
path = "${./ghost.png}";
size = 196;
border_size = 0;
shadow_passes = 2;
shadow_color = "rgb(282a36)";
position = "0, 120";
halign = "center";
valign = "bottom";
};
2024-05-12 19:05:49 +05:30
};
2024-05-12 18:38:07 +05:30
};
}