Add deskOS Plymouth theme package
This commit is contained in:
8
packages/desk-os-plymouth/src/desk-os.plymouth
Normal file
8
packages/desk-os-plymouth/src/desk-os.plymouth
Normal file
@@ -0,0 +1,8 @@
|
||||
[Plymouth Theme]
|
||||
Name=deskOS
|
||||
Description=A theme that displays the deskOS logo
|
||||
ModuleName=script
|
||||
|
||||
[script]
|
||||
ImageDir=/usr/share/plymouth/themes/desk-os
|
||||
ScriptFile=/usr/share/plymouth/themes/desk-os/desk-os.script
|
||||
BIN
packages/desk-os-plymouth/src/desk-os.png
Normal file
BIN
packages/desk-os-plymouth/src/desk-os.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
8
packages/desk-os-plymouth/src/desk-os.script
Normal file
8
packages/desk-os-plymouth/src/desk-os.script
Normal file
@@ -0,0 +1,8 @@
|
||||
image = Image("desk-os.png");
|
||||
|
||||
pos_x = Window.GetWidth()/2 - image.GetWidth()/2;
|
||||
pos_y = Window.GetHeight()/2 - image.GetHeight()/2;
|
||||
|
||||
sprite = Sprite(image);
|
||||
sprite.SetX(pos_x);
|
||||
sprite.SetY(pos_y);
|
||||
Reference in New Issue
Block a user