From 832d83a225b99864b3d78d72398c417d1067f83d Mon Sep 17 00:00:00 2001 From: djairoh Date: Tue, 6 Oct 2026 23:17:53 +0200 Subject: [PATCH] fx: hyprsunset --- modules/apps/default.nix | 1 + modules/desktop/hyprapps.nix | 68 +++++++++++++++++------------------- 2 files changed, 33 insertions(+), 36 deletions(-) diff --git a/modules/apps/default.nix b/modules/apps/default.nix index fba78cf..37f9df6 100644 --- a/modules/apps/default.nix +++ b/modules/apps/default.nix @@ -79,6 +79,7 @@ slop slurp yad + tesseract ]; home-manager.users.djai.xdg.desktopEntries = { diff --git a/modules/desktop/hyprapps.nix b/modules/desktop/hyprapps.nix index 7e5cf65..d47d2be 100644 --- a/modules/desktop/hyprapps.nix +++ b/modules/desktop/hyprapps.nix @@ -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"; }; }; };