diff --git a/README.md b/README.md
index fc03290..e4fb586 100644
--- a/README.md
+++ b/README.md
@@ -3,9 +3,18 @@
Plymouth-Progress-Bar is a Plymoyth theme featuring a progress bar, available in various color schemes. It is based on **[Micheal Bearly's Apple Mac Plymouth Bar](https://www.opencode.net/mikebearly/apple-mac-plymouth)**
# Screenshots
-![drawing](screenshots/adwaita-blue-dark/1024x768.png)
![drawing](screenshots/adwaita-blue-light/1024x768.png)
![drawing](screenshots/arch-linux-branded/1024x768.png)
-![drawing](screenshots/breeze-blue-light/1024x768.png)
![drawing](screenshots/debian-branded/1024x768.png)
![drawing](screenshots/fedora-branded/1024x768.png)
-![drawing](screenshots/opensuse-branded/1024x768.png)
![drawing](screenshots/steam-os-branded/1024x768.png)
+
+
+
+
+
+
+
+
+
+
+
+
**[Screenshots folder (including encryption prompt)](https://github.com/1deterministic/Plymouth-Progress-Bar/tree/master/screenshots)**
diff --git a/build.sh b/build.sh
index df02dd3..db758e2 100644
--- a/build.sh
+++ b/build.sh
@@ -11,8 +11,8 @@ for i in $color_schemes/*;
do
for f in $i/*;
do
- if [ -d $f ]; then
- (name=$(basename $f)-$(basename $(dirname $f))
+ if [ -d $f ]; then (
+ name=$(basename $f)-$(basename $(dirname $f))
if [ ! -d $build/$name ]; then
mkdir $build/$name
@@ -30,10 +30,16 @@ do
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 &&
- python3 -B ./create-screenshots.py --path=$build/$name) || exit 1
+ python3 -B ./create-screenshots.py --path=$build/$name &&
+
+ # creates/updates readme screenshots
+ cp $build/$name/screenshots/1024x768.png ./screenshots/$name.png &&
+ cp $build/$name/screenshots/1024x768-encrypted.png ./screenshots/$name-encrypted.png
+ ) || exit 1
fi
done;
done;
diff --git a/screenshots/adwaita-blue-dark/1024x768-encrypted.png b/screenshots/adwaita-blue-dark-encrypted.png
similarity index 100%
rename from screenshots/adwaita-blue-dark/1024x768-encrypted.png
rename to screenshots/adwaita-blue-dark-encrypted.png
diff --git a/screenshots/adwaita-blue-dark/1024x768.png b/screenshots/adwaita-blue-dark.png
similarity index 100%
rename from screenshots/adwaita-blue-dark/1024x768.png
rename to screenshots/adwaita-blue-dark.png
diff --git a/screenshots/adwaita-blue-light/1024x768-encrypted.png b/screenshots/adwaita-blue-light-encrypted.png
similarity index 100%
rename from screenshots/adwaita-blue-light/1024x768-encrypted.png
rename to screenshots/adwaita-blue-light-encrypted.png
diff --git a/screenshots/adwaita-blue-light/1024x768.png b/screenshots/adwaita-blue-light.png
similarity index 100%
rename from screenshots/adwaita-blue-light/1024x768.png
rename to screenshots/adwaita-blue-light.png
diff --git a/screenshots/arch-linux-branded/1024x768-encrypted.png b/screenshots/arch-linux-branded-encrypted.png
similarity index 100%
rename from screenshots/arch-linux-branded/1024x768-encrypted.png
rename to screenshots/arch-linux-branded-encrypted.png
diff --git a/screenshots/arch-linux-branded/1024x768.png b/screenshots/arch-linux-branded.png
similarity index 100%
rename from screenshots/arch-linux-branded/1024x768.png
rename to screenshots/arch-linux-branded.png
diff --git a/screenshots/breeze-blue-dark/1024x768-encrypted.png b/screenshots/breeze-blue-dark-encrypted.png
similarity index 100%
rename from screenshots/breeze-blue-dark/1024x768-encrypted.png
rename to screenshots/breeze-blue-dark-encrypted.png
diff --git a/screenshots/breeze-blue-dark/1024x768.png b/screenshots/breeze-blue-dark.png
similarity index 100%
rename from screenshots/breeze-blue-dark/1024x768.png
rename to screenshots/breeze-blue-dark.png
diff --git a/screenshots/breeze-blue-light/1024x768-encrypted.png b/screenshots/breeze-blue-light-encrypted.png
similarity index 100%
rename from screenshots/breeze-blue-light/1024x768-encrypted.png
rename to screenshots/breeze-blue-light-encrypted.png
diff --git a/screenshots/breeze-blue-light/1024x768.png b/screenshots/breeze-blue-light.png
similarity index 100%
rename from screenshots/breeze-blue-light/1024x768.png
rename to screenshots/breeze-blue-light.png
diff --git a/screenshots/debian-branded/1024x768-encrypted.png b/screenshots/debian-branded-encrypted.png
similarity index 100%
rename from screenshots/debian-branded/1024x768-encrypted.png
rename to screenshots/debian-branded-encrypted.png
diff --git a/screenshots/debian-branded/1024x768.png b/screenshots/debian-branded.png
similarity index 100%
rename from screenshots/debian-branded/1024x768.png
rename to screenshots/debian-branded.png
diff --git a/screenshots/fedora-branded/1024x768-encrypted.png b/screenshots/fedora-branded-encrypted.png
similarity index 100%
rename from screenshots/fedora-branded/1024x768-encrypted.png
rename to screenshots/fedora-branded-encrypted.png
diff --git a/screenshots/fedora-branded/1024x768.png b/screenshots/fedora-branded.png
similarity index 100%
rename from screenshots/fedora-branded/1024x768.png
rename to screenshots/fedora-branded.png
diff --git a/screenshots/manjaro-branded/1024x768-encrypted.png b/screenshots/manjaro-branded-encrypted.png
similarity index 100%
rename from screenshots/manjaro-branded/1024x768-encrypted.png
rename to screenshots/manjaro-branded-encrypted.png
diff --git a/screenshots/manjaro-branded/1024x768.png b/screenshots/manjaro-branded.png
similarity index 100%
rename from screenshots/manjaro-branded/1024x768.png
rename to screenshots/manjaro-branded.png
diff --git a/screenshots/opensuse-branded/1024x768-encrypted.png b/screenshots/opensuse-branded-encrypted.png
similarity index 100%
rename from screenshots/opensuse-branded/1024x768-encrypted.png
rename to screenshots/opensuse-branded-encrypted.png
diff --git a/screenshots/opensuse-branded/1024x768.png b/screenshots/opensuse-branded.png
similarity index 100%
rename from screenshots/opensuse-branded/1024x768.png
rename to screenshots/opensuse-branded.png
diff --git a/screenshots/steam-os-branded/1024x768-encrypted.png b/screenshots/steam-os-branded-encrypted.png
similarity index 100%
rename from screenshots/steam-os-branded/1024x768-encrypted.png
rename to screenshots/steam-os-branded-encrypted.png
diff --git a/screenshots/steam-os-branded/1024x768.png b/screenshots/steam-os-branded.png
similarity index 100%
rename from screenshots/steam-os-branded/1024x768.png
rename to screenshots/steam-os-branded.png
diff --git a/screenshots/ubuntu-branded/1024x768-encrypted.png b/screenshots/ubuntu-branded-encrypted.png
similarity index 100%
rename from screenshots/ubuntu-branded/1024x768-encrypted.png
rename to screenshots/ubuntu-branded-encrypted.png
diff --git a/screenshots/ubuntu-branded/1024x768.png b/screenshots/ubuntu-branded.png
similarity index 100%
rename from screenshots/ubuntu-branded/1024x768.png
rename to screenshots/ubuntu-branded.png