From 76545937e8067ca3bbb0ef3742d0568d75d2e5af Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 20 Jan 2026 09:47:35 -0500 Subject: switch back to hyprlock, update style --- home/apps/hyprlock.nix | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'home/apps/hyprlock.nix') diff --git a/home/apps/hyprlock.nix b/home/apps/hyprlock.nix index a0e5d84..237abb6 100644 --- a/home/apps/hyprlock.nix +++ b/home/apps/hyprlock.nix @@ -4,7 +4,6 @@ ... }: let text = "rgb(${config.theme.colors.text})"; - base = "rgb(${config.theme.colors.base})"; error = "rgb(${config.theme.colors.error})"; trans = "rgba(0,0,0,0)"; @@ -25,30 +24,29 @@ in { animations = { enabled = true; + bezier = [ + "linear, 1, 1, 1, 1" + ]; animation = [ - "fadeIn, 0" - "fadeOut, 0" + "fade, 1, 3, linear" ]; }; background = { path = config.theme.lockscreen; - color = base; - blur_passes = 0; - blur_size = 2; - noise = 0; - contrast = 0; - brightness = 0; - vibrancy = 0; + blur_passes = 2; + contrast = 0.9; + brightness = 0.8; + vibrancy = 0.2; vibrancy_darkness = 0.0; }; # Password Input input-field = { - size = "300, 50"; - outline_thickness = 0; - dots_size = 0.25; - dots_spacing = 0.55; + size = "250, 60"; + outline_thickness = 2; + dots_size = 0.2; + dots_spacing = 0.5; dots_center = true; dots_rounding = -1; outer_color = trans; @@ -81,21 +79,21 @@ in { { text = "cmd[update:1000] echo \"$(date +\"%A, %B %d\")\""; color = text; - font_size = 20; + font_size = 30; font_family = config.theme.font.header; - position = "0, -100"; + position = "0, -50"; halign = "center"; - valign = "top"; + valign = "center"; } # Clock { - text = "cmd[update:1000] echo \"$(date +\"%k:%M:%S\")\""; + text = "cmd[update:1000] echo \"$(date +\"%k:%M\")\""; color = text; - font_size = 90; + font_size = 130; font_family = config.theme.font.header; - position = "0, -130"; + position = "0, 130"; halign = "center"; - valign = "top"; + valign = "center"; } ]; }; -- cgit v1.2.3-freya