plymouth: don't use static prompt (#1138)

This commit is contained in:
Johan Eklund 2025-04-15 00:01:32 +02:00 committed by GitHub
parent 042db377bc
commit 38aff11a70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,7 +78,7 @@ builtins.toFile "stylix-plymouth-theme" ''
fun password_callback (prompt_text, bullet_count) {
${lib.optionalString cfg.logoAnimated "deactivate_spinner();"}
prompt.image = Image.Text("Enter password", ${foregroundColor});
prompt.image = Image.Text(prompt_text, ${foregroundColor});
prompt.sprite = Sprite(prompt.image);
prompt.sprite.SetPosition(
center_x - (prompt.image.GetWidth() / 2),