snowflake/home/wayland/programs/hyprlock.nix

99 lines
2.5 KiB
Nix
Raw Normal View History

_: {
2024-03-07 03:54:42 -05:00
programs.hyprlock = {
enable = true;
settings = {
background = let
verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
in [
{
monitor = "HDMI-A-1";
path = verticalWallpaper;
blur_passes = 3;
blur_size = 4;
brightness = 0.5;
}
{
monitor = "DP-3";
path = verticalWallpaper;
blur_passes = 3;
blur_size = 4;
brightness = 0.5;
}
{
monitor = "DP-1";
path = horizontalWallpaper;
blur_passes = 3;
blur_size = 4;
brightness = 0.5;
}
{
monitor = "DP-2";
path = horizontalWallpaper;
blur_passes = 3;
blur_size = 4;
brightness = 0.5;
}
];
general = {
grace = 5;
disable_loading_bar = false;
hide_cursor = false;
no_fade_in = false;
};
input-field = [
{
monitor = "DP-1";
size = "350, 50";
outline_thickness = 2;
outer_color = "rgb(f7768e)";
inner_color = "rgb(1a1b26)";
font_color = "rgb(c0caf5)";
fail_color = "rgb(f7768e)";
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
check_color = "rgb(ff9e64)";
swap_font_color = false;
placeholder_text = ''
<i><span foreground="##c0caf5">Password...</span></i>
'';
fade_on_empty = false;
dots_spacing = 0.5;
dots_center = true;
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 1.0;
}
];
label = [
{
monitor = "DP-1";
text = ''
Hi, <i><span foreground="##f7768e">$USER</span></i>
'';
color = "rgb(c0caf5)";
2024-10-28 19:32:41 -04:00
position = "0, 60";
valign = "center";
halign = "center";
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 1.0;
}
{
monitor = "DP-1";
text = "$TIME";
color = "rgb(c0caf5)";
position = "0, 120";
valign = "center";
halign = "center";
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 0.6;
}
];
2024-03-07 03:54:42 -05:00
};
};
}