Declared hyprlock config
This commit is contained in:
76
hyprland/hypr/hyprlock.nix
Normal file
76
hyprland/hypr/hyprlock.nix
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
ignore_empty_input = true;
|
||||
immediate_render = false;
|
||||
};
|
||||
|
||||
animations = {
|
||||
enabled = false;
|
||||
};
|
||||
|
||||
background = {
|
||||
path = "$HOME/Pictures/Backgrounds/gruvbox/gruvbox_grid.png";
|
||||
color = "rgba(40,40,40,1)";
|
||||
blur_passes = 0;
|
||||
blur_size = 0;
|
||||
noise = 0;
|
||||
};
|
||||
|
||||
input-field = [
|
||||
{
|
||||
rounding = 0;
|
||||
shadow_passes = 1;
|
||||
shadow_size = 0;
|
||||
position = "170, 0";
|
||||
size = "300, 50";
|
||||
outline_thickness = 2;
|
||||
outer_color = "rgba(235, 219, 178, 1)";
|
||||
inner_color = "rgba(50, 48, 47, 1)";
|
||||
dots_center = false;
|
||||
fade_on_empty = false;
|
||||
placeholder_text = "Password";
|
||||
font_color = "rgba(235, 219, 178, 1)";
|
||||
check_color = "rgba(184, 187, 38, 1)";
|
||||
fail_color = "rgba(204, 36, 29, 1)";
|
||||
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
|
||||
capslock_color = "rgba(215, 153, 33, 1)";
|
||||
font_family = "Monocraft";
|
||||
}
|
||||
];
|
||||
|
||||
image = {
|
||||
border_size = 2;
|
||||
border_color = "rgba(72, 72, 72, 1)";
|
||||
shadow_passes = 1;
|
||||
shadow_size = 0;
|
||||
path = "$HOME/.face";
|
||||
position = "-95, 0";
|
||||
rounding = 0;
|
||||
};
|
||||
|
||||
label = [
|
||||
{
|
||||
text = "cmd[update:1000] echo $TIME";
|
||||
valign = "top";
|
||||
halign = "right";
|
||||
position = "-10, -9";
|
||||
font_size = 15;
|
||||
font_family = "Monocraft";
|
||||
color = "rgba(235, 219, 178, 1)";
|
||||
}
|
||||
{
|
||||
text = "$LAYOUT";
|
||||
valign = "top";
|
||||
halign = "left";
|
||||
position = "10, -9";
|
||||
font_size = 15;
|
||||
font_family = "Monocraft";
|
||||
color = "rgba(235, 219, 178, 1)";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user