2024-03-03 17:18:59 -05:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
hyprlock,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (lib) optionalString;
|
|
|
|
inherit (config.vars) mainMonitor;
|
|
|
|
|
|
|
|
monitor = optionalString (mainMonitor != null) mainMonitor;
|
|
|
|
in {
|
|
|
|
imports = [hyprlock.homeManagerModules.default];
|
|
|
|
|
|
|
|
programs.hyprlock = {
|
|
|
|
enable = true;
|
|
|
|
general = {
|
|
|
|
hide_cursor = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
backgrounds = [
|
|
|
|
{
|
|
|
|
path = "screenshot";
|
|
|
|
blur_size = 5;
|
|
|
|
blur_passes = 2;
|
|
|
|
vibrancy_darkness = 0.0;
|
2024-03-11 12:41:16 -04:00
|
|
|
brightness = 1.0;
|
2024-03-03 17:18:59 -05:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
input-fields = [
|
|
|
|
{
|
|
|
|
inherit monitor;
|
|
|
|
fade_on_empty = false;
|
|
|
|
outer_color = "rgba(10, 10, 10, 1.0)";
|
|
|
|
inner_color = "rgb(151515)";
|
|
|
|
font_color = "rgba(240, 240, 240, 1.0)"; # This is the dot color
|
2024-03-14 16:31:35 -04:00
|
|
|
capslock_color = "rgba(171, 12, 8, 1.0)";
|
2024-03-03 17:18:59 -05:00
|
|
|
placeholder_text = ''<span foreground="##cccccc" style="italic">Input Password...</span>'';
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
labels = [
|
2024-03-11 12:41:16 -04:00
|
|
|
{
|
|
|
|
inherit monitor;
|
|
|
|
text = "$TIME";
|
|
|
|
font_size = 80;
|
|
|
|
font_family = "Ubuntu Mono";
|
|
|
|
position.y = 240;
|
|
|
|
shadow_passes = 3;
|
|
|
|
}
|
2024-03-03 17:18:59 -05:00
|
|
|
{
|
|
|
|
inherit monitor;
|
|
|
|
text = "<i> Groovy </i>";
|
|
|
|
font_family = "Ubuntu Mono";
|
2024-03-11 12:41:16 -04:00
|
|
|
shadow_passes = 3;
|
2024-03-03 17:18:59 -05:00
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|