snowflake/home/wayland/programs/hyprlock.nix

103 lines
2.5 KiB
Nix
Raw Normal View History

2024-04-22 16:16:03 -04:00
{inputs, ...}: {
imports = [inputs.hyprlock.homeManagerModules.default];
2024-03-07 03:54:42 -05:00
programs.hyprlock = {
enable = true;
backgrounds = let
2024-04-17 23:53:39 -04:00
verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
2024-03-07 03:54:42 -05:00
in [
2024-04-17 23:53:39 -04:00
{
monitor = "HDMI-A-1";
path = verticalWallpaper;
blur_passes = 3;
blur_size = 4;
brightness = 0.5;
}
2024-03-07 03:54:42 -05:00
{
2024-05-02 01:07:49 -04:00
monitor = "DP-3";
2024-04-17 23:53:39 -04:00
path = verticalWallpaper;
blur_passes = 3;
blur_size = 4;
brightness = 0.5;
2024-03-07 03:54:42 -05:00
}
{
2024-05-02 01:07:49 -04:00
monitor = "DP-1";
2024-04-17 23:53:39 -04:00
path = horizontalWallpaper;
blur_passes = 3;
blur_size = 4;
brightness = 0.5;
2024-03-07 03:54:42 -05:00
}
{
2024-05-02 01:07:49 -04:00
monitor = "DP-2";
2024-04-17 23:53:39 -04:00
path = horizontalWallpaper;
blur_passes = 3;
blur_size = 4;
brightness = 0.5;
2024-03-07 03:54:42 -05:00
}
];
general = {
2024-03-10 07:51:29 -04:00
grace = 5;
2024-03-07 03:54:42 -05:00
disable_loading_bar = false;
hide_cursor = false;
no_fade_in = false;
};
input-fields = [
{
monitor = "DP-2";
size = {
2024-04-17 23:53:39 -04:00
width = 350;
2024-03-07 03:54:42 -05:00
height = 50;
};
outline_thickness = 2;
2024-04-17 23:53:39 -04:00
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;
2024-03-07 03:54:42 -05:00
placeholder_text = ''
2024-04-17 23:53:39 -04:00
<i><span foreground="##c0caf5">Password...</span></i>
2024-03-07 03:54:42 -05:00
'';
fade_on_empty = false;
2024-04-17 23:53:39 -04:00
dots_spacing = 0.5;
2024-03-07 03:54:42 -05:00
dots_center = true;
2024-04-17 23:53:39 -04:00
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 1.0;
2024-03-07 03:54:42 -05:00
}
];
labels = [
{
monitor = "DP-2";
2024-04-17 23:53:39 -04:00
text = ''
Hi, <i><span foreground="##f7768e">$USER</span></i>
'';
color = "rgb(c0caf5)";
2024-03-07 03:54:42 -05:00
valign = "center";
halign = "center";
2024-04-17 23:53:39 -04:00
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 1.0;
2024-03-07 03:54:42 -05:00
}
{
monitor = "DP-2";
text = "$TIME";
2024-04-17 23:53:39 -04:00
color = "rgb(c0caf5)";
2024-03-07 03:54:42 -05:00
position = {
x = 0;
y = 120;
};
valign = "center";
halign = "center";
2024-04-17 23:53:39 -04:00
shadow_passes = 3;
shadow_size = 1;
shadow_color = "rgba(00000099)";
shadow_boost = 0.6;
2024-03-07 03:54:42 -05:00
}
];
};
}