fx: hyprsunset

This commit is contained in:
2026-10-06 23:17:53 +02:00
parent 37f917b930
commit 832d83a225
2 changed files with 33 additions and 36 deletions

View File

@@ -1,6 +1,7 @@
{ ... }:
{
home-manager.users.djai.catppuccin.hyprlock.useDefaultConfig = false;
home-manager.users."djai".programs.hyprlock = {
enable = true;
settings = {
@@ -11,56 +12,51 @@
animations = {
enabled = true;
fade_in = {
duration = 300;
bezier = "easeOutQuint";
};
fade_out = {
duration = 300;
bezier = "easeOutQuint";
};
input_field_dots = {
duration = 100;
bezier = "linear";
};
animation = [
"fadeIn, 1, 5, linear"
"fadeOut, 1, 5, linear"
"inputFieldDots, 1, 2, linear"
];
};
background = {
path = "screenshot";
blur_passes = 3;
monitor = "";
path = "screenshot";
blur_passes = 3;
};
input-field = {
size = "20%, 5%";
outline_thickness = 3;
inner_color = "rgba(0, 0, 0, 0.0)"; # no fill
outer_color = "rgba($blueAlphaee) rgba($mauveAlphaee) 340deg";
check_color = "rgba($greenAlphaee) rgba($tealAlphaee) 120deg";
fail_color = "rgba($redAlphaee) rgba($peachAlphaee) 20deg";
monitor = "";
size = "20%, 5%";
outline_thickness = 3;
inner_color = "rgba(0, 0, 0, 0.0)"; # no fill
outer_color = "rgba($blueAlphaee) rgba($mauveAlphaee) 340deg";
check_color = "rgba($greenAlphaee) rgba($tealAlphaee) 120deg";
fail_color = "rgba($redAlphaee) rgba($peachAlphaee) 20deg";
font_color = "$text";
fade_on_empty = false;
rounding = 15;
font_color = "$text";
fade_on_empty = false;
rounding = 15;
font_family = "Monospace";
placeholder_text = "Input password..";
fail_text = "$PAMFAIL";
font_family = "Monospace";
placeholder_text = "Input password..";
fail_text = "$PAMFAIL";
dots_spacing = 0.3;
dots_spacing = 0.3;
position = "0, -20";
halign = "center";
valign = "center";
position = "0, -20";
halign = "center";
valign = "center";
};
label = {
text = "$ATTEMPTS";
font_size = 24;
monitor = "";
text = "$ATTEMPTS";
font_size = 24;
position = "0, 40";
halign = "center";
valign = "center";
position = "0, 40";
halign = "center";
valign = "center";
};
};
};