fixed several configs and missing packages, added plymouth
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# fluffy-pancake Plymouth-Theme (script-Plugin).
|
||||
# Dunkler Hintergrund (Noctalia-nah), zentrierter Schriftzug, Statuszeile.
|
||||
# Plymouth ruft message_callback bei Boot-Meldungen und boot_progress_callback
|
||||
# waehrenddessen; quit_callback beim Uebergang zum Login.
|
||||
|
||||
Window.SetBackgroundTopColor (0.10, 0.11, 0.15);
|
||||
Window.SetBackgroundBottomColor (0.10, 0.11, 0.15);
|
||||
|
||||
title_image = Message ("fluffy-pancake");
|
||||
title_sprite = Sprite (title_image);
|
||||
title_sprite.SetPosition (Window.GetX () / 2 - title_image.GetWidth () / 2,
|
||||
Window.GetY () / 2 - title_image.GetHeight () / 2, 10);
|
||||
|
||||
status_image = Image.Text ("", 1, 1, 1);
|
||||
status_sprite = Sprite (status_image);
|
||||
|
||||
fun message_callback (text) {
|
||||
status_image = Image.Text (text, 1, 1, 1);
|
||||
status_sprite.SetImage (status_image);
|
||||
status_sprite.SetPosition (Window.GetX () / 2 - status_image.GetWidth () / 2,
|
||||
Window.GetY () * 3 / 4, 10);
|
||||
}
|
||||
|
||||
fun boot_progress_callback (duration, progress) {
|
||||
}
|
||||
|
||||
fun quit_callback () {
|
||||
}
|
||||
Reference in New Issue
Block a user