feat(hyprlock): use $PROMPT for placeholder_text
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
dd7b67e811
commit
45119487c3
2 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 = ''<span foreground="##cccccc" style="italic">Input Password...</span>'';
|
||||
placeholder_text = let
|
||||
span = "<span foreground='##cccccc' style='italic' size='15pt' allow_breaks='true'>";
|
||||
mkSpan = s: "${span}${s}</span>";
|
||||
in
|
||||
mkSpan "\r$PROMPT";
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue