diff --git a/devices/wim/modules/security.nix b/devices/wim/modules/security.nix index 9af7762..37b826f 100644 --- a/devices/wim/modules/security.nix +++ b/devices/wim/modules/security.nix @@ -34,6 +34,8 @@ in { sudo.text = mkDefault (mkBefore grosshackConf); login.text = mkDefault (mkBefore grosshackConf); polkit-1.text = mkDefault (mkBefore grosshackConf); + + # FIXME: sometimes can't use password hyprlock.text = mkDefault (mkBefore grosshackConf); }; } diff --git a/modules/hyprland/hyprlock.nix b/modules/hyprland/hyprlock.nix index c9611e8..e372585 100644 --- a/modules/hyprland/hyprlock.nix +++ b/modules/hyprland/hyprlock.nix @@ -30,12 +30,17 @@ in { input-fields = [ { inherit monitor; + size.height = 70; fade_on_empty = false; outer_color = "rgba(10, 10, 10, 1.0)"; inner_color = "rgb(151515)"; font_color = "rgba(240, 240, 240, 1.0)"; # This is the dot color capslock_color = "rgba(171, 12, 8, 1.0)"; - placeholder_text = ''Input Password...''; + placeholder_text = let + span = ""; + mkSpan = s: "${span}${s}"; + in + mkSpan "\r$PROMPT"; } ];