diff --git a/system/home/desktop/hyprland.nix b/system/home/desktop/hyprland.nix index aac10084..15d05a6b 100644 --- a/system/home/desktop/hyprland.nix +++ b/system/home/desktop/hyprland.nix @@ -75,18 +75,16 @@ hyprlock = let font = config.stylix.fonts.sansSerif.name; - foreground = config.lib.stylix.scheme.base05; - background = config.lib.stylix.scheme.base00; - accent = config.lib.stylix.scheme.base0E; + scheme = config.lib.stylix.scheme; + accent = scheme.base0E; in { enable = true; settings = { general = { - disable_loading_bar = true; - grace = 5; hide_cursor = true; - no_fade_in = false; + grace = 5; + ignore_emptry_input = true; }; background = [ { @@ -100,7 +98,7 @@ { monitor = ""; text = "cmd[update:30000] echo \"$(date +\"%R\")\""; - color = "0xff${background}"; + color = "0xff${scheme.base00}"; font_size = 90; font_family = font; position = "-30, 0"; @@ -110,7 +108,7 @@ { monitor = ""; text = "cmd[update:43200000] echo \"$(date +\"%A,%e %B %Y\")\""; - color = "0xff${background}"; + color = "0xff${scheme.base00}"; font_size = 25; font_family = font; position = "-30, -150"; @@ -138,10 +136,13 @@ dots_spacing = 0.2; # Scale of dots' absolute size, 0.0 - 1.0 dots_center = true; outer_color = "0xff${accent}"; - inner_color = "0xff${background}"; - font_color = "0xff${foreground}"; + inner_color = "0xff${scheme.base00}"; + font_color = "0xff${scheme.base05}"; fade_on_empty = false; - placeholder_text = "󰌾 Logged in as $USER"; + placeholder_text = "󰌾 Logged in as $USER"; + check_color = "0xff${scheme.blue}"; + fail_color = "0xff${scheme.red}"; + fail_text = "$FAIL ($ATTEMPTS)"; hide_input = false; position = "0, -50"; halign = "center";