diff --git a/scripts/plymouth-theme/background.png b/scripts/plymouth-theme/background.png new file mode 100644 index 0000000..5ffa86f Binary files /dev/null and b/scripts/plymouth-theme/background.png differ diff --git a/scripts/plymouth-theme/frame-0000.png b/scripts/plymouth-theme/frame-0000.png new file mode 100644 index 0000000..dfee2af Binary files /dev/null and b/scripts/plymouth-theme/frame-0000.png differ diff --git a/scripts/plymouth-theme/frame-0001.png b/scripts/plymouth-theme/frame-0001.png new file mode 100644 index 0000000..86a9ac2 Binary files /dev/null and b/scripts/plymouth-theme/frame-0001.png differ diff --git a/scripts/plymouth-theme/frame-0002.png b/scripts/plymouth-theme/frame-0002.png new file mode 100644 index 0000000..592a811 Binary files /dev/null and b/scripts/plymouth-theme/frame-0002.png differ diff --git a/scripts/plymouth-theme/frame-0003.png b/scripts/plymouth-theme/frame-0003.png new file mode 100644 index 0000000..f041ab7 Binary files /dev/null and b/scripts/plymouth-theme/frame-0003.png differ diff --git a/scripts/plymouth-theme/frame-0004.png b/scripts/plymouth-theme/frame-0004.png new file mode 100644 index 0000000..43dc113 Binary files /dev/null and b/scripts/plymouth-theme/frame-0004.png differ diff --git a/scripts/plymouth-theme/frame-0005.png b/scripts/plymouth-theme/frame-0005.png new file mode 100644 index 0000000..dcd326f Binary files /dev/null and b/scripts/plymouth-theme/frame-0005.png differ diff --git a/scripts/plymouth-theme/frame-0006.png b/scripts/plymouth-theme/frame-0006.png new file mode 100644 index 0000000..8c8e1f4 Binary files /dev/null and b/scripts/plymouth-theme/frame-0006.png differ diff --git a/scripts/plymouth-theme/frame-0007.png b/scripts/plymouth-theme/frame-0007.png new file mode 100644 index 0000000..ab80a73 Binary files /dev/null and b/scripts/plymouth-theme/frame-0007.png differ diff --git a/scripts/plymouth-theme/frame-0008.png b/scripts/plymouth-theme/frame-0008.png new file mode 100644 index 0000000..9c3e37a Binary files /dev/null and b/scripts/plymouth-theme/frame-0008.png differ diff --git a/scripts/plymouth-theme/frame-0009.png b/scripts/plymouth-theme/frame-0009.png new file mode 100644 index 0000000..3798715 Binary files /dev/null and b/scripts/plymouth-theme/frame-0009.png differ diff --git a/scripts/plymouth-theme/frame-0010.png b/scripts/plymouth-theme/frame-0010.png new file mode 100644 index 0000000..39fb883 Binary files /dev/null and b/scripts/plymouth-theme/frame-0010.png differ diff --git a/scripts/plymouth-theme/frame-0011.png b/scripts/plymouth-theme/frame-0011.png new file mode 100644 index 0000000..7ffae21 Binary files /dev/null and b/scripts/plymouth-theme/frame-0011.png differ diff --git a/scripts/plymouth-theme/frame-0012.png b/scripts/plymouth-theme/frame-0012.png new file mode 100644 index 0000000..97923c8 Binary files /dev/null and b/scripts/plymouth-theme/frame-0012.png differ diff --git a/scripts/plymouth-theme/frame-0013.png b/scripts/plymouth-theme/frame-0013.png new file mode 100644 index 0000000..753bc9a Binary files /dev/null and b/scripts/plymouth-theme/frame-0013.png differ diff --git a/scripts/plymouth-theme/frame-0014.png b/scripts/plymouth-theme/frame-0014.png new file mode 100644 index 0000000..efe3432 Binary files /dev/null and b/scripts/plymouth-theme/frame-0014.png differ diff --git a/scripts/plymouth-theme/frame-0015.png b/scripts/plymouth-theme/frame-0015.png new file mode 100644 index 0000000..5fdb464 Binary files /dev/null and b/scripts/plymouth-theme/frame-0015.png differ diff --git a/scripts/plymouth-theme/frame-0016.png b/scripts/plymouth-theme/frame-0016.png new file mode 100644 index 0000000..e49db6e Binary files /dev/null and b/scripts/plymouth-theme/frame-0016.png differ diff --git a/scripts/plymouth-theme/frame-0017.png b/scripts/plymouth-theme/frame-0017.png new file mode 100644 index 0000000..4631677 Binary files /dev/null and b/scripts/plymouth-theme/frame-0017.png differ diff --git a/scripts/plymouth-theme/frame-0018.png b/scripts/plymouth-theme/frame-0018.png new file mode 100644 index 0000000..5223a3f Binary files /dev/null and b/scripts/plymouth-theme/frame-0018.png differ diff --git a/scripts/plymouth-theme/frame-0019.png b/scripts/plymouth-theme/frame-0019.png new file mode 100644 index 0000000..fa28769 Binary files /dev/null and b/scripts/plymouth-theme/frame-0019.png differ diff --git a/scripts/plymouth-theme/photobooth.plymouth b/scripts/plymouth-theme/photobooth.plymouth new file mode 100644 index 0000000..2fe18c8 --- /dev/null +++ b/scripts/plymouth-theme/photobooth.plymouth @@ -0,0 +1,8 @@ +[Plymouth Theme] +Name=Photobooth +Description=Chat photographe - Animation de demarrage +ModuleName=script + +[script] +ImageDir=/usr/share/plymouth/themes/photobooth +ScriptFile=/usr/share/plymouth/themes/photobooth/photobooth.script diff --git a/scripts/plymouth-theme/photobooth.script b/scripts/plymouth-theme/photobooth.script new file mode 100644 index 0000000..cf25a98 --- /dev/null +++ b/scripts/plymouth-theme/photobooth.script @@ -0,0 +1,18 @@ +// Animation du chat photographe +frame = 0; +total_frames = 20; + +for (i = 0; i < total_frames; i++) { + frames[i] = Image("frame-" + String(i).PadLeft(4, "0") + ".png"); +} + +bg = Image("background.png"); + +fun refresh_callback() { + bg.Draw(0, 0); + frames[frame].Draw(0, 0); + frame = (frame + 1) % total_frames; +} + +Plymouth.SetRefreshFunction(refresh_callback); +Plymouth.SetRefreshRate(5);