diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..56fcec3 --- /dev/null +++ b/build.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +build=./build +color_schemes=./color-schemes + +for i in $color_schemes/*; +do + for f in $i/*; + do + [ -d $f ] && $( + name=$(basename $f)-$(basename $(dirname $f)) + + mkdir $build/$name && + cp $f/background.png $build/$name && + cp $f/box.png $build/$name && + cp $f/bullet.png $build/$name && + cp $f/entry.png $build/$name && + cp $f/lock.png $build/$name && + cp $f/logo.png $build/$name && + cp $f/progress-bar.png $build/$name && + cp $f/progress-box.png $build/$name && + sed "s/::NAME::/$name/g" plymouth > $build/$name/$name.plymouth && + cat script > $build/$name/$name.script + ) + done; +done; + +echo "Done!" diff --git a/color-schemes/branded/arch-linux/background.png b/color-schemes/branded/arch-linux/background.png new file mode 100644 index 0000000..bf705bd Binary files /dev/null and b/color-schemes/branded/arch-linux/background.png differ diff --git a/color-schemes/branded/arch-linux/box.png b/color-schemes/branded/arch-linux/box.png new file mode 100644 index 0000000..05efab2 Binary files /dev/null and b/color-schemes/branded/arch-linux/box.png differ diff --git a/color-schemes/branded/arch-linux/bullet.png b/color-schemes/branded/arch-linux/bullet.png new file mode 100644 index 0000000..6abd02b Binary files /dev/null and b/color-schemes/branded/arch-linux/bullet.png differ diff --git a/color-schemes/branded/arch-linux/entry.png b/color-schemes/branded/arch-linux/entry.png new file mode 100644 index 0000000..7c60204 Binary files /dev/null and b/color-schemes/branded/arch-linux/entry.png differ diff --git a/color-schemes/branded/arch-linux/lock.png b/color-schemes/branded/arch-linux/lock.png new file mode 100644 index 0000000..3f5b9c1 Binary files /dev/null and b/color-schemes/branded/arch-linux/lock.png differ diff --git a/color-schemes/branded/arch-linux/logo.png b/color-schemes/branded/arch-linux/logo.png new file mode 100644 index 0000000..9735b59 Binary files /dev/null and b/color-schemes/branded/arch-linux/logo.png differ diff --git a/color-schemes/branded/arch-linux/progress-bar.png b/color-schemes/branded/arch-linux/progress-bar.png new file mode 100644 index 0000000..a30ff04 Binary files /dev/null and b/color-schemes/branded/arch-linux/progress-bar.png differ diff --git a/color-schemes/branded/arch-linux/progress-box.png b/color-schemes/branded/arch-linux/progress-box.png new file mode 100644 index 0000000..6ce60fc Binary files /dev/null and b/color-schemes/branded/arch-linux/progress-box.png differ diff --git a/color-schemes/branded/debian/background.png b/color-schemes/branded/debian/background.png new file mode 100644 index 0000000..33512b0 Binary files /dev/null and b/color-schemes/branded/debian/background.png differ diff --git a/color-schemes/branded/debian/box.png b/color-schemes/branded/debian/box.png new file mode 100644 index 0000000..1e701a8 Binary files /dev/null and b/color-schemes/branded/debian/box.png differ diff --git a/color-schemes/branded/debian/bullet.png b/color-schemes/branded/debian/bullet.png new file mode 100644 index 0000000..e98d520 Binary files /dev/null and b/color-schemes/branded/debian/bullet.png differ diff --git a/color-schemes/branded/debian/entry.png b/color-schemes/branded/debian/entry.png new file mode 100644 index 0000000..146268f Binary files /dev/null and b/color-schemes/branded/debian/entry.png differ diff --git a/color-schemes/branded/debian/lock.png b/color-schemes/branded/debian/lock.png new file mode 100644 index 0000000..a50dc64 Binary files /dev/null and b/color-schemes/branded/debian/lock.png differ diff --git a/color-schemes/branded/debian/logo.png b/color-schemes/branded/debian/logo.png new file mode 100644 index 0000000..c95e02f Binary files /dev/null and b/color-schemes/branded/debian/logo.png differ diff --git a/color-schemes/branded/debian/progress-bar.png b/color-schemes/branded/debian/progress-bar.png new file mode 100644 index 0000000..c4f6e1f Binary files /dev/null and b/color-schemes/branded/debian/progress-bar.png differ diff --git a/color-schemes/branded/debian/progress-box.png b/color-schemes/branded/debian/progress-box.png new file mode 100644 index 0000000..2080060 Binary files /dev/null and b/color-schemes/branded/debian/progress-box.png differ diff --git a/color-schemes/branded/fedora/background.png b/color-schemes/branded/fedora/background.png new file mode 100644 index 0000000..09eb5b6 Binary files /dev/null and b/color-schemes/branded/fedora/background.png differ diff --git a/color-schemes/branded/fedora/box.png b/color-schemes/branded/fedora/box.png new file mode 100644 index 0000000..33705fe Binary files /dev/null and b/color-schemes/branded/fedora/box.png differ diff --git a/color-schemes/branded/fedora/bullet.png b/color-schemes/branded/fedora/bullet.png new file mode 100644 index 0000000..ed8825c Binary files /dev/null and b/color-schemes/branded/fedora/bullet.png differ diff --git a/color-schemes/branded/fedora/entry.png b/color-schemes/branded/fedora/entry.png new file mode 100644 index 0000000..17afa53 Binary files /dev/null and b/color-schemes/branded/fedora/entry.png differ diff --git a/color-schemes/branded/fedora/lock.png b/color-schemes/branded/fedora/lock.png new file mode 100644 index 0000000..c2685cb Binary files /dev/null and b/color-schemes/branded/fedora/lock.png differ diff --git a/color-schemes/branded/fedora/logo.png b/color-schemes/branded/fedora/logo.png new file mode 100644 index 0000000..5350103 Binary files /dev/null and b/color-schemes/branded/fedora/logo.png differ diff --git a/color-schemes/branded/fedora/progress-bar.png b/color-schemes/branded/fedora/progress-bar.png new file mode 100644 index 0000000..8e492ab Binary files /dev/null and b/color-schemes/branded/fedora/progress-bar.png differ diff --git a/color-schemes/branded/fedora/progress-box.png b/color-schemes/branded/fedora/progress-box.png new file mode 100644 index 0000000..965d535 Binary files /dev/null and b/color-schemes/branded/fedora/progress-box.png differ diff --git a/color-schemes/branded/manjaro/background.png b/color-schemes/branded/manjaro/background.png new file mode 100644 index 0000000..b33c8f9 Binary files /dev/null and b/color-schemes/branded/manjaro/background.png differ diff --git a/color-schemes/branded/manjaro/box.png b/color-schemes/branded/manjaro/box.png new file mode 100644 index 0000000..326b517 Binary files /dev/null and b/color-schemes/branded/manjaro/box.png differ diff --git a/color-schemes/branded/manjaro/bullet.png b/color-schemes/branded/manjaro/bullet.png new file mode 100644 index 0000000..5e33ee4 Binary files /dev/null and b/color-schemes/branded/manjaro/bullet.png differ diff --git a/color-schemes/branded/manjaro/entry.png b/color-schemes/branded/manjaro/entry.png new file mode 100644 index 0000000..df52c1f Binary files /dev/null and b/color-schemes/branded/manjaro/entry.png differ diff --git a/color-schemes/branded/manjaro/lock.png b/color-schemes/branded/manjaro/lock.png new file mode 100644 index 0000000..3403ce2 Binary files /dev/null and b/color-schemes/branded/manjaro/lock.png differ diff --git a/color-schemes/branded/manjaro/logo.png b/color-schemes/branded/manjaro/logo.png new file mode 100644 index 0000000..ad53c46 Binary files /dev/null and b/color-schemes/branded/manjaro/logo.png differ diff --git a/color-schemes/branded/manjaro/progress-bar.png b/color-schemes/branded/manjaro/progress-bar.png new file mode 100644 index 0000000..9a5f8a6 Binary files /dev/null and b/color-schemes/branded/manjaro/progress-bar.png differ diff --git a/color-schemes/branded/manjaro/progress-box.png b/color-schemes/branded/manjaro/progress-box.png new file mode 100644 index 0000000..11b14de Binary files /dev/null and b/color-schemes/branded/manjaro/progress-box.png differ diff --git a/color-schemes/branded/opensuse/background.png b/color-schemes/branded/opensuse/background.png new file mode 100644 index 0000000..1c353fd Binary files /dev/null and b/color-schemes/branded/opensuse/background.png differ diff --git a/color-schemes/branded/opensuse/box.png b/color-schemes/branded/opensuse/box.png new file mode 100644 index 0000000..06d9c7e Binary files /dev/null and b/color-schemes/branded/opensuse/box.png differ diff --git a/color-schemes/branded/opensuse/bullet.png b/color-schemes/branded/opensuse/bullet.png new file mode 100644 index 0000000..3a96f7d Binary files /dev/null and b/color-schemes/branded/opensuse/bullet.png differ diff --git a/color-schemes/branded/opensuse/entry.png b/color-schemes/branded/opensuse/entry.png new file mode 100644 index 0000000..43b57e3 Binary files /dev/null and b/color-schemes/branded/opensuse/entry.png differ diff --git a/color-schemes/branded/opensuse/lock.png b/color-schemes/branded/opensuse/lock.png new file mode 100644 index 0000000..5d06d05 Binary files /dev/null and b/color-schemes/branded/opensuse/lock.png differ diff --git a/color-schemes/branded/opensuse/logo.png b/color-schemes/branded/opensuse/logo.png new file mode 100644 index 0000000..9e34f06 Binary files /dev/null and b/color-schemes/branded/opensuse/logo.png differ diff --git a/color-schemes/branded/opensuse/progress-bar.png b/color-schemes/branded/opensuse/progress-bar.png new file mode 100644 index 0000000..c37e19e Binary files /dev/null and b/color-schemes/branded/opensuse/progress-bar.png differ diff --git a/color-schemes/branded/opensuse/progress-box.png b/color-schemes/branded/opensuse/progress-box.png new file mode 100644 index 0000000..a8f47b6 Binary files /dev/null and b/color-schemes/branded/opensuse/progress-box.png differ diff --git a/color-schemes/branded/steam-os/background.png b/color-schemes/branded/steam-os/background.png new file mode 100644 index 0000000..14b003f Binary files /dev/null and b/color-schemes/branded/steam-os/background.png differ diff --git a/color-schemes/branded/steam-os/box.png b/color-schemes/branded/steam-os/box.png new file mode 100644 index 0000000..7994ae8 Binary files /dev/null and b/color-schemes/branded/steam-os/box.png differ diff --git a/color-schemes/branded/steam-os/bullet.png b/color-schemes/branded/steam-os/bullet.png new file mode 100644 index 0000000..7b9a1dd Binary files /dev/null and b/color-schemes/branded/steam-os/bullet.png differ diff --git a/color-schemes/branded/steam-os/entry.png b/color-schemes/branded/steam-os/entry.png new file mode 100644 index 0000000..a49c8ae Binary files /dev/null and b/color-schemes/branded/steam-os/entry.png differ diff --git a/color-schemes/branded/steam-os/lock.png b/color-schemes/branded/steam-os/lock.png new file mode 100644 index 0000000..5fce685 Binary files /dev/null and b/color-schemes/branded/steam-os/lock.png differ diff --git a/color-schemes/branded/steam-os/logo.png b/color-schemes/branded/steam-os/logo.png new file mode 100644 index 0000000..b931c62 Binary files /dev/null and b/color-schemes/branded/steam-os/logo.png differ diff --git a/color-schemes/branded/steam-os/progress-bar.png b/color-schemes/branded/steam-os/progress-bar.png new file mode 100644 index 0000000..2affa04 Binary files /dev/null and b/color-schemes/branded/steam-os/progress-bar.png differ diff --git a/color-schemes/branded/steam-os/progress-box.png b/color-schemes/branded/steam-os/progress-box.png new file mode 100644 index 0000000..b16b324 Binary files /dev/null and b/color-schemes/branded/steam-os/progress-box.png differ diff --git a/color-schemes/branded/ubuntu/background.png b/color-schemes/branded/ubuntu/background.png new file mode 100644 index 0000000..0a46b29 Binary files /dev/null and b/color-schemes/branded/ubuntu/background.png differ diff --git a/color-schemes/branded/ubuntu/box.png b/color-schemes/branded/ubuntu/box.png new file mode 100644 index 0000000..58b4496 Binary files /dev/null and b/color-schemes/branded/ubuntu/box.png differ diff --git a/color-schemes/branded/ubuntu/bullet.png b/color-schemes/branded/ubuntu/bullet.png new file mode 100644 index 0000000..0b8e080 Binary files /dev/null and b/color-schemes/branded/ubuntu/bullet.png differ diff --git a/color-schemes/branded/ubuntu/entry.png b/color-schemes/branded/ubuntu/entry.png new file mode 100644 index 0000000..78cfd70 Binary files /dev/null and b/color-schemes/branded/ubuntu/entry.png differ diff --git a/color-schemes/branded/ubuntu/lock.png b/color-schemes/branded/ubuntu/lock.png new file mode 100644 index 0000000..b631873 Binary files /dev/null and b/color-schemes/branded/ubuntu/lock.png differ diff --git a/color-schemes/branded/ubuntu/logo.png b/color-schemes/branded/ubuntu/logo.png new file mode 100644 index 0000000..6a01cc2 Binary files /dev/null and b/color-schemes/branded/ubuntu/logo.png differ diff --git a/color-schemes/branded/ubuntu/progress-bar.png b/color-schemes/branded/ubuntu/progress-bar.png new file mode 100644 index 0000000..a6cb23e Binary files /dev/null and b/color-schemes/branded/ubuntu/progress-bar.png differ diff --git a/color-schemes/branded/ubuntu/progress-box.png b/color-schemes/branded/ubuntu/progress-box.png new file mode 100644 index 0000000..6e7dad3 Binary files /dev/null and b/color-schemes/branded/ubuntu/progress-box.png differ diff --git a/color-schemes/dark/adwaita-blue/background.png b/color-schemes/dark/adwaita-blue/background.png new file mode 100644 index 0000000..09eb5b6 Binary files /dev/null and b/color-schemes/dark/adwaita-blue/background.png differ diff --git a/color-schemes/dark/adwaita-blue/box.png b/color-schemes/dark/adwaita-blue/box.png new file mode 100644 index 0000000..33705fe Binary files /dev/null and b/color-schemes/dark/adwaita-blue/box.png differ diff --git a/color-schemes/dark/adwaita-blue/bullet.png b/color-schemes/dark/adwaita-blue/bullet.png new file mode 100644 index 0000000..ed8825c Binary files /dev/null and b/color-schemes/dark/adwaita-blue/bullet.png differ diff --git a/color-schemes/dark/adwaita-blue/entry.png b/color-schemes/dark/adwaita-blue/entry.png new file mode 100644 index 0000000..17afa53 Binary files /dev/null and b/color-schemes/dark/adwaita-blue/entry.png differ diff --git a/color-schemes/dark/adwaita-blue/lock.png b/color-schemes/dark/adwaita-blue/lock.png new file mode 100644 index 0000000..c2685cb Binary files /dev/null and b/color-schemes/dark/adwaita-blue/lock.png differ diff --git a/color-schemes/dark/adwaita-blue/logo.png b/color-schemes/dark/adwaita-blue/logo.png new file mode 100644 index 0000000..a575fa3 Binary files /dev/null and b/color-schemes/dark/adwaita-blue/logo.png differ diff --git a/color-schemes/dark/adwaita-blue/progress-bar.png b/color-schemes/dark/adwaita-blue/progress-bar.png new file mode 100644 index 0000000..8e492ab Binary files /dev/null and b/color-schemes/dark/adwaita-blue/progress-bar.png differ diff --git a/color-schemes/dark/adwaita-blue/progress-box.png b/color-schemes/dark/adwaita-blue/progress-box.png new file mode 100644 index 0000000..965d535 Binary files /dev/null and b/color-schemes/dark/adwaita-blue/progress-box.png differ diff --git a/color-schemes/dark/breeze-blue/background.png b/color-schemes/dark/breeze-blue/background.png new file mode 100644 index 0000000..bf705bd Binary files /dev/null and b/color-schemes/dark/breeze-blue/background.png differ diff --git a/color-schemes/dark/breeze-blue/box.png b/color-schemes/dark/breeze-blue/box.png new file mode 100644 index 0000000..05efab2 Binary files /dev/null and b/color-schemes/dark/breeze-blue/box.png differ diff --git a/color-schemes/dark/breeze-blue/bullet.png b/color-schemes/dark/breeze-blue/bullet.png new file mode 100644 index 0000000..6abd02b Binary files /dev/null and b/color-schemes/dark/breeze-blue/bullet.png differ diff --git a/color-schemes/dark/breeze-blue/entry.png b/color-schemes/dark/breeze-blue/entry.png new file mode 100644 index 0000000..7c60204 Binary files /dev/null and b/color-schemes/dark/breeze-blue/entry.png differ diff --git a/color-schemes/dark/breeze-blue/lock.png b/color-schemes/dark/breeze-blue/lock.png new file mode 100644 index 0000000..3f5b9c1 Binary files /dev/null and b/color-schemes/dark/breeze-blue/lock.png differ diff --git a/color-schemes/dark/breeze-blue/logo.png b/color-schemes/dark/breeze-blue/logo.png new file mode 100644 index 0000000..59e993c Binary files /dev/null and b/color-schemes/dark/breeze-blue/logo.png differ diff --git a/color-schemes/dark/breeze-blue/progress-bar.png b/color-schemes/dark/breeze-blue/progress-bar.png new file mode 100644 index 0000000..a30ff04 Binary files /dev/null and b/color-schemes/dark/breeze-blue/progress-bar.png differ diff --git a/color-schemes/dark/breeze-blue/progress-box.png b/color-schemes/dark/breeze-blue/progress-box.png new file mode 100644 index 0000000..6ce60fc Binary files /dev/null and b/color-schemes/dark/breeze-blue/progress-box.png differ diff --git a/color-schemes/light/adwaita-blue/background.png b/color-schemes/light/adwaita-blue/background.png new file mode 100644 index 0000000..5953593 Binary files /dev/null and b/color-schemes/light/adwaita-blue/background.png differ diff --git a/color-schemes/light/adwaita-blue/box.png b/color-schemes/light/adwaita-blue/box.png new file mode 100644 index 0000000..117f1e2 Binary files /dev/null and b/color-schemes/light/adwaita-blue/box.png differ diff --git a/color-schemes/light/adwaita-blue/bullet.png b/color-schemes/light/adwaita-blue/bullet.png new file mode 100644 index 0000000..8044deb Binary files /dev/null and b/color-schemes/light/adwaita-blue/bullet.png differ diff --git a/color-schemes/light/adwaita-blue/entry.png b/color-schemes/light/adwaita-blue/entry.png new file mode 100644 index 0000000..ba07c6b Binary files /dev/null and b/color-schemes/light/adwaita-blue/entry.png differ diff --git a/color-schemes/light/adwaita-blue/lock.png b/color-schemes/light/adwaita-blue/lock.png new file mode 100644 index 0000000..e2bf129 Binary files /dev/null and b/color-schemes/light/adwaita-blue/lock.png differ diff --git a/color-schemes/light/adwaita-blue/logo.png b/color-schemes/light/adwaita-blue/logo.png new file mode 100644 index 0000000..db3312c Binary files /dev/null and b/color-schemes/light/adwaita-blue/logo.png differ diff --git a/color-schemes/light/adwaita-blue/progress-bar.png b/color-schemes/light/adwaita-blue/progress-bar.png new file mode 100644 index 0000000..6acad0f Binary files /dev/null and b/color-schemes/light/adwaita-blue/progress-bar.png differ diff --git a/color-schemes/light/adwaita-blue/progress-box.png b/color-schemes/light/adwaita-blue/progress-box.png new file mode 100644 index 0000000..7b64a7f Binary files /dev/null and b/color-schemes/light/adwaita-blue/progress-box.png differ diff --git a/color-schemes/light/breeze-blue/background.png b/color-schemes/light/breeze-blue/background.png new file mode 100644 index 0000000..78a8a78 Binary files /dev/null and b/color-schemes/light/breeze-blue/background.png differ diff --git a/color-schemes/light/breeze-blue/box.png b/color-schemes/light/breeze-blue/box.png new file mode 100644 index 0000000..6efe95e Binary files /dev/null and b/color-schemes/light/breeze-blue/box.png differ diff --git a/color-schemes/light/breeze-blue/bullet.png b/color-schemes/light/breeze-blue/bullet.png new file mode 100644 index 0000000..b86477a Binary files /dev/null and b/color-schemes/light/breeze-blue/bullet.png differ diff --git a/color-schemes/light/breeze-blue/entry.png b/color-schemes/light/breeze-blue/entry.png new file mode 100644 index 0000000..7c60204 Binary files /dev/null and b/color-schemes/light/breeze-blue/entry.png differ diff --git a/color-schemes/light/breeze-blue/lock.png b/color-schemes/light/breeze-blue/lock.png new file mode 100644 index 0000000..606c65d Binary files /dev/null and b/color-schemes/light/breeze-blue/lock.png differ diff --git a/color-schemes/light/breeze-blue/logo.png b/color-schemes/light/breeze-blue/logo.png new file mode 100644 index 0000000..ec2b9ea Binary files /dev/null and b/color-schemes/light/breeze-blue/logo.png differ diff --git a/color-schemes/light/breeze-blue/progress-bar.png b/color-schemes/light/breeze-blue/progress-bar.png new file mode 100644 index 0000000..a30ff04 Binary files /dev/null and b/color-schemes/light/breeze-blue/progress-bar.png differ diff --git a/color-schemes/light/breeze-blue/progress-box.png b/color-schemes/light/breeze-blue/progress-box.png new file mode 100644 index 0000000..90cdd07 Binary files /dev/null and b/color-schemes/light/breeze-blue/progress-box.png differ diff --git a/distro-logos/dark/arch-linux/logo.png b/distro-logos/dark/arch-linux/logo.png new file mode 100644 index 0000000..99801fb Binary files /dev/null and b/distro-logos/dark/arch-linux/logo.png differ diff --git a/distro-logos/dark/debian/logo.png b/distro-logos/dark/debian/logo.png new file mode 100644 index 0000000..3123301 Binary files /dev/null and b/distro-logos/dark/debian/logo.png differ diff --git a/distro-logos/dark/fedora/logo.png b/distro-logos/dark/fedora/logo.png new file mode 100644 index 0000000..0f07faf Binary files /dev/null and b/distro-logos/dark/fedora/logo.png differ diff --git a/distro-logos/dark/manjaro/logo.png b/distro-logos/dark/manjaro/logo.png new file mode 100644 index 0000000..b37c855 Binary files /dev/null and b/distro-logos/dark/manjaro/logo.png differ diff --git a/distro-logos/dark/opensuse/logo.png b/distro-logos/dark/opensuse/logo.png new file mode 100644 index 0000000..8efb4cb Binary files /dev/null and b/distro-logos/dark/opensuse/logo.png differ diff --git a/distro-logos/dark/steam-os/logo.png b/distro-logos/dark/steam-os/logo.png new file mode 100644 index 0000000..b931c62 Binary files /dev/null and b/distro-logos/dark/steam-os/logo.png differ diff --git a/distro-logos/dark/ubuntu/logo.png b/distro-logos/dark/ubuntu/logo.png new file mode 100644 index 0000000..6a01cc2 Binary files /dev/null and b/distro-logos/dark/ubuntu/logo.png differ diff --git a/distro-logos/empty/logo.png b/distro-logos/empty/logo.png new file mode 100644 index 0000000..b55b549 Binary files /dev/null and b/distro-logos/empty/logo.png differ diff --git a/distro-logos/light/arch-linux/logo.png b/distro-logos/light/arch-linux/logo.png new file mode 100644 index 0000000..b421c99 Binary files /dev/null and b/distro-logos/light/arch-linux/logo.png differ diff --git a/distro-logos/light/debian/logo.png b/distro-logos/light/debian/logo.png new file mode 100644 index 0000000..d3f3121 Binary files /dev/null and b/distro-logos/light/debian/logo.png differ diff --git a/distro-logos/light/fedora/logo.png b/distro-logos/light/fedora/logo.png new file mode 100644 index 0000000..6071380 Binary files /dev/null and b/distro-logos/light/fedora/logo.png differ diff --git a/distro-logos/light/manjaro/logo.png b/distro-logos/light/manjaro/logo.png new file mode 100644 index 0000000..39668a7 Binary files /dev/null and b/distro-logos/light/manjaro/logo.png differ diff --git a/distro-logos/light/opensuse/logo.png b/distro-logos/light/opensuse/logo.png new file mode 100644 index 0000000..5bbfc0d Binary files /dev/null and b/distro-logos/light/opensuse/logo.png differ diff --git a/distro-logos/light/steam-os/logo.png b/distro-logos/light/steam-os/logo.png new file mode 100644 index 0000000..048fe97 Binary files /dev/null and b/distro-logos/light/steam-os/logo.png differ diff --git a/distro-logos/light/ubuntu/logo.png b/distro-logos/light/ubuntu/logo.png new file mode 100644 index 0000000..b931ce0 Binary files /dev/null and b/distro-logos/light/ubuntu/logo.png differ diff --git a/gimp-sources/background.xcf b/gimp-sources/background.xcf new file mode 100644 index 0000000..57df096 Binary files /dev/null and b/gimp-sources/background.xcf differ diff --git a/gimp-sources/box.xcf b/gimp-sources/box.xcf new file mode 100644 index 0000000..29c420c Binary files /dev/null and b/gimp-sources/box.xcf differ diff --git a/gimp-sources/bullet.xcf b/gimp-sources/bullet.xcf new file mode 100644 index 0000000..c75fcd4 Binary files /dev/null and b/gimp-sources/bullet.xcf differ diff --git a/gimp-sources/entry.xcf b/gimp-sources/entry.xcf new file mode 100644 index 0000000..6b75130 Binary files /dev/null and b/gimp-sources/entry.xcf differ diff --git a/gimp-sources/lock.xcf b/gimp-sources/lock.xcf new file mode 100644 index 0000000..bda5228 Binary files /dev/null and b/gimp-sources/lock.xcf differ diff --git a/gimp-sources/logo.xcf b/gimp-sources/logo.xcf new file mode 100644 index 0000000..ff31bc3 Binary files /dev/null and b/gimp-sources/logo.xcf differ diff --git a/gimp-sources/progress-bar.xcf b/gimp-sources/progress-bar.xcf new file mode 100644 index 0000000..3ea0801 Binary files /dev/null and b/gimp-sources/progress-bar.xcf differ diff --git a/gimp-sources/progress-box.xcf b/gimp-sources/progress-box.xcf new file mode 100644 index 0000000..c79cd44 Binary files /dev/null and b/gimp-sources/progress-box.xcf differ diff --git a/plymouth b/plymouth new file mode 100644 index 0000000..2021a54 --- /dev/null +++ b/plymouth @@ -0,0 +1,8 @@ +[Plymouth Theme] +Name=::NAME:: +Description=::NAME:: +ModuleName=script + +[script] +ImageDir=/usr/share/plymouth/themes/::NAME:: +ScriptFile=/usr/share/plymouth/themes/::NAME::/::NAME::.script diff --git a/script b/script new file mode 100644 index 0000000..c882c09 --- /dev/null +++ b/script @@ -0,0 +1,158 @@ +# This theme is based on Micheal Bearly's Apple Mac Plymouth Bar + +fun dialog_setup() { + local.box; + local.lock; + local.entry; + + box.image = Image("box.png"); + lock.image = Image("lock.png"); + entry.image = Image("entry.png"); + + box.sprite = Sprite(box.image); + box.x = ((Window.GetX() + Window.GetWidth()) / 2) - (box.image.GetWidth() / 2); + box.y = (Window.GetY() + (4 * (Window.GetHeight() / 5))) - (box.image.GetHeight() / 2); + box.z = 10000; + box.sprite.SetPosition(box.x, box.y, box.z); + + lock.sprite = Sprite(lock.image); + lock.x = box.x + (box.image.GetWidth() / 2) - ((lock.image.GetWidth() + entry.image.GetWidth()) / 2); + lock.y = box.y + (box.image.GetHeight() / 2) - (lock.image.GetHeight() / 2); + lock.z = box.z + 1; + lock.sprite.SetPosition(lock.x, lock.y, lock.z); + + entry.sprite = Sprite(entry.image); + entry.x = lock.x + lock.image.GetWidth(); + entry.y = box.y + (box.image.GetHeight() / 2) - (entry.image.GetHeight() / 2); + entry.z = box.z + 1; + entry.sprite.SetPosition(entry.x, entry.y, entry.z); + + global.dialog.box = box; + global.dialog.lock = lock; + global.dialog.entry = entry; + global.dialog.bullet_image = Image("bullet.png"); + dialog_opacity(1); +} + +fun dialog_opacity(opacity) { + dialog.box.sprite.SetOpacity(opacity); + dialog.lock.sprite.SetOpacity(opacity); + dialog.entry.sprite.SetOpacity(opacity); + + for (index = 0; dialog.bullet[index]; index++) { + dialog.bullet[index].sprite.SetOpacity(opacity); + } +} + +fun display_normal_callback() { + global.status = "normal"; + + if (global.dialog) { + dialog_opacity(0); + } +} + +fun display_password_callback(prompt, bullets) { + global.status = "password"; + + if (!global.dialog) { + dialog_setup(); + } else { + dialog_opacity(1); + } + + for(index = 0; dialog.bullet[index] || index < bullets; index++) { + if (!dialog.bullet[index]) { + dialog.bullet[index].sprite = Sprite(dialog.bullet_image); + dialog.bullet[index].x = dialog.entry.x + (index * dialog.bullet_image.GetWidth()); + dialog.bullet[index].y = dialog.entry.y + (dialog.entry.image.GetHeight() / 2) - (dialog.bullet_image.GetHeight() / 2); + dialog.bullet[index].z = dialog.entry.z + 1; + dialog.bullet[index].sprite.SetPosition(dialog.bullet[index].x, dialog.bullet[index].y, dialog.bullet[index].z); + } + + if ((index < bullets) && (index <= 32)) { + dialog.bullet[index].sprite.SetOpacity(1); + } else { + dialog.bullet[index].sprite.SetOpacity(0); + } + } +} + +fun quit_callback() { + logo.sprite.SetOpacity(1); +} + +fun display_message_callback(text) { + my_image = Image.Text(text, 1, 1, 1); + message_sprites[message_sprite_count] = Sprite(my_image); + message_sprites[message_sprite_count].SetPosition(10, message_sprite_y, 10000); + message_sprites[message_sprite_count].text = text; + message_sprite_count++; + message_sprite_y += my_image.GetHeight(); +} + +fun hide_message_callback(text) { + for (i = 0; i < message_sprite_count; i++) { + if (message_sprites[i].text == text) { + message_sprites[i] = NULL; + } + } +} + +message_sprites = []; +message_sprite_count = 0; +message_sprite_y = 10; + +Window.SetBackgroundTopColor(0, 0, 0); +Window.SetBackgroundBottomColor(0, 0, 0); + +background.image = Image("background.png"); +background.image_scaled = background.image.Scale(Window.GetWidth(), Window.GetHeight()); +background.sprite = Sprite(background.image_scaled); +background.sprite.SetX(0); +background.sprite.SetY(0); +background.sprite.SetOpacity(1); + +logo.image = Image("logo.png"); +logo.sprite = Sprite(logo.image); +logo.sprite.SetX(((Window.GetX() + Window.GetWidth()) / 2) - (logo.image.GetWidth() / 2)); +logo.sprite.SetY(((Window.GetY() + Window.GetHeight()) / 2) - (logo.image.GetHeight() / 2)); +logo.sprite.SetOpacity(1); + +status = "normal"; + +Plymouth.SetDisplayNormalFunction(display_normal_callback); +Plymouth.SetDisplayPasswordFunction(display_password_callback); +Plymouth.SetQuitFunction(quit_callback); +Plymouth.SetDisplayMessageFunction(display_message_callback); +Plymouth.SetHideMessageFunction(hide_message_callback); + +if (Plymouth.GetMode() == "boot") { + progress_box.image = Image("progress-box.png"); + progress_box.sprite = Sprite(progress_box.image); + + progress_box.x = Window.GetX() + (Window.GetWidth() / 2) - (progress_box.image.GetWidth() / 2); + progress_box.y = Window.GetY() + (Window.GetHeight() * 0.65) - (progress_box.image.GetHeight() / 2); + progress_box.sprite.SetPosition(progress_box.x, progress_box.y, 0); + + progress_bar.original_image = Image("progress-bar.png"); + progress_bar.sprite = Sprite(); + + progress_bar.x = Window.GetX() + (Window.GetWidth() / 2) - (progress_bar.original_image.GetWidth() / 2); + progress_bar.y = Window.GetY() + (1.3 * (Window.GetHeight() / 2)) - (progress_box.image.GetHeight() / 2) + ((progress_box.image.GetHeight() - progress_bar.original_image.GetHeight()) / 2); + progress_bar.sprite.SetPosition(progress_bar.x, progress_bar.y, 1); + + fun progress_callback(duration, progress) { + if (global.status != "password") { + if (progress_bar.image.GetWidth() != Math.Int(progress_bar.original_image.GetWidth() * progress)) { + progress_bar.image = progress_bar.original_image.Scale(progress_bar.original_image.GetWidth(progress_bar.original_image) * progress, progress_bar.original_image.GetHeight()); + progress_bar.sprite.SetImage(progress_bar.image); + } + } + } + + Plymouth.SetBootProgressFunction(progress_callback); +} + +if (Plymouth.GetMode() == "shutdown") { +}