feat: hyprlock config

This commit is contained in:
Ahurac 2024-09-30 16:15:07 +02:00
parent 4ccd9ad23c
commit 16ff904979

View file

@ -51,7 +51,6 @@
programs.home-manager.enable = true; programs.home-manager.enable = true;
programs.firefox.enable = true; programs.firefox.enable = true;
programs.kitty.enable = true; programs.kitty.enable = true;
programs.hyprlock.enable = true;
programs.helix = { programs.helix = {
enable = true; enable = true;
@ -284,4 +283,48 @@
]; ];
}; };
}; };
programs.hyprlock = {
enable = true;
settings = {
general = {
disable_loading_bar = true;
hide_cursor = true;
grace = 0;
no_fade_in = true;
no_fade_out = true;
ignore_empty_input = true;
text_trim = true;
fractional_scaling = 2;
};
label = {
monitor = "";
halign = "left";
valign = "bottom";
position = "50, 50";
font_size = 64;
font_family = "Noto Sans";
text =
''cmd[update:1000] printf '<b>%s</b>' "$(date +%Y-%m-%d%n%H:%M:%S)"'';
};
background = {
monitor = "";
path = "screenshot";
blur_passes = 5;
blur_size = 1;
};
input-field = {
monitor = "";
size = "700, 50";
outline_thickness = 5;
outer_color = "rgba(0, 0, 0, 0)";
dots_size = 0.5;
placeholder_text = "";
fail_text = "";
};
};
};
} }