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

@@ -79,6 +79,7 @@
slop slop
slurp slurp
yad yad
tesseract
]; ];
home-manager.users.djai.xdg.desktopEntries = { home-manager.users.djai.xdg.desktopEntries = {

View File

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