From 9e441be7c5990a000f5a8095fd95fec1e62c39a7 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Sun, 3 Nov 2024 18:21:21 -0500 Subject: [PATCH] style: redesign lock screen --- home-manager/wayland/wltools.nix | 48 ++++++++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 5 deletions(-) diff --git a/home-manager/wayland/wltools.nix b/home-manager/wayland/wltools.nix index ecb0456..ddf338f 100644 --- a/home-manager/wayland/wltools.nix +++ b/home-manager/wayland/wltools.nix @@ -38,21 +38,59 @@ path = "screenshot"; blur_passes = 2; blur_size = 6; + brightness = 0.4; + contrast = 0.5; + } + ]; + + label = [ + { + monitor = ""; + halign = "center"; + valign = "center"; + position = "0, 480"; + text = "cmd[update:1000] date '+%H:%M:%S'"; + color = "rgb(a9b1d6)"; + font_family = "Quicksand"; + font_size = 102; + } + { + monitor = ""; + halign = "center"; + valign = "center"; + position = "0, 370"; + text = "cmd[update:60000] date '+%A  %Y-%m-%d'"; + color = "rgb(a9b1d6)"; + font_family = "Quicksand"; + font_size = 32; + } + { + monitor = ""; + halign = "center"; + valign = "center"; + position = "0, -240"; + text = "Login: $USER"; + color = "rgb(a9b1d6)"; + font_family = "Quicksand"; + font_size = 26; } ]; input-field = [ { monitor = ""; - size = "500, 50"; - position = "0, -80"; + halign = "center"; + valign = "center"; + size = "800, 70"; + position = "0, -160"; dots_center = true; fade_on_empty = false; - - + font_family = "Quicksand"; font_color = "rgb(a9b1d6)"; inner_color = "rgb(1a1b26)"; - outer_color = "rgb(b4f9f8)"; + outer_color = "rgb(a9b1d6)"; + check_color = "rgb(e0af68)"; + fail_color = "rgb(f7768e)"; outline_thickness = 3; placeholder_text = ''Password''; shadow_passes = 2;