Skip to content

Commit

Permalink
Qubes outline logo for Plymouth shutdown splash
Browse files Browse the repository at this point in the history
  • Loading branch information
alimirjamali committed Jul 7, 2024
1 parent 9f7e8d1 commit 67fc3ef
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions plymouth/qubes-dark/qubes-dark.script
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
Window.SetBackgroundTopColor(0.263, 0.294, 0.325);
Window.SetBackgroundBottomColor(0.179, 0.200, 0.221);
if (Plymouth.GetMode() != "shutdown")
{
Window.SetBackgroundTopColor(0.263, 0.294, 0.325);
Window.SetBackgroundBottomColor(0.179, 0.200, 0.221);

logo.image = Image("qubes-logo-solid.png");
logo.sprite = Sprite(logo.image);
logo.opacity_angle = 0;
logo.image = Image("qubes-logo-solid.png");
logo.sprite = Sprite(logo.image);
logo.opacity_angle = 0;
}
else
{
Window.SetBackgroundTopColor(0, 0, 0);
Window.SetBackgroundBottomColor(0, 0, 0);

logo.image = Image("qubes-logo-outline.png");
logo.sprite = Sprite(logo.image);
logo.opacity_angle = 0;
}

fun refresh_callback () {
logo.sprite.SetX(Window.GetX() + (Window.GetWidth() - logo.image.GetWidth()) / 2);
Expand Down

0 comments on commit 67fc3ef

Please sign in to comment.