From ff6c3a0daa77018186ba0159c44a69efd1739441 Mon Sep 17 00:00:00 2001
From: 1deterministic <22532656+1deterministic@users.noreply.github.com>
Date: Thu, 11 Jul 2019 21:39:33 -0300
Subject: [PATCH] More readme adjustments
---
README.md | 15 ++++++++++++---
build.sh | 12 +++++++++---
...ypted.png => adwaita-blue-dark-encrypted.png} | Bin
.../1024x768.png => adwaita-blue-dark.png} | Bin
...pted.png => adwaita-blue-light-encrypted.png} | Bin
.../1024x768.png => adwaita-blue-light.png} | Bin
...pted.png => arch-linux-branded-encrypted.png} | Bin
.../1024x768.png => arch-linux-branded.png} | Bin
...rypted.png => breeze-blue-dark-encrypted.png} | Bin
.../1024x768.png => breeze-blue-dark.png} | Bin
...ypted.png => breeze-blue-light-encrypted.png} | Bin
.../1024x768.png => breeze-blue-light.png} | Bin
...ncrypted.png => debian-branded-encrypted.png} | Bin
.../1024x768.png => debian-branded.png} | Bin
...ncrypted.png => fedora-branded-encrypted.png} | Bin
.../1024x768.png => fedora-branded.png} | Bin
...crypted.png => manjaro-branded-encrypted.png} | Bin
.../1024x768.png => manjaro-branded.png} | Bin
...rypted.png => opensuse-branded-encrypted.png} | Bin
.../1024x768.png => opensuse-branded.png} | Bin
...rypted.png => steam-os-branded-encrypted.png} | Bin
.../1024x768.png => steam-os-branded.png} | Bin
...ncrypted.png => ubuntu-branded-encrypted.png} | Bin
.../1024x768.png => ubuntu-branded.png} | Bin
24 files changed, 21 insertions(+), 6 deletions(-)
rename screenshots/{adwaita-blue-dark/1024x768-encrypted.png => adwaita-blue-dark-encrypted.png} (100%)
rename screenshots/{adwaita-blue-dark/1024x768.png => adwaita-blue-dark.png} (100%)
rename screenshots/{adwaita-blue-light/1024x768-encrypted.png => adwaita-blue-light-encrypted.png} (100%)
rename screenshots/{adwaita-blue-light/1024x768.png => adwaita-blue-light.png} (100%)
rename screenshots/{arch-linux-branded/1024x768-encrypted.png => arch-linux-branded-encrypted.png} (100%)
rename screenshots/{arch-linux-branded/1024x768.png => arch-linux-branded.png} (100%)
rename screenshots/{breeze-blue-dark/1024x768-encrypted.png => breeze-blue-dark-encrypted.png} (100%)
rename screenshots/{breeze-blue-dark/1024x768.png => breeze-blue-dark.png} (100%)
rename screenshots/{breeze-blue-light/1024x768-encrypted.png => breeze-blue-light-encrypted.png} (100%)
rename screenshots/{breeze-blue-light/1024x768.png => breeze-blue-light.png} (100%)
rename screenshots/{debian-branded/1024x768-encrypted.png => debian-branded-encrypted.png} (100%)
rename screenshots/{debian-branded/1024x768.png => debian-branded.png} (100%)
rename screenshots/{fedora-branded/1024x768-encrypted.png => fedora-branded-encrypted.png} (100%)
rename screenshots/{fedora-branded/1024x768.png => fedora-branded.png} (100%)
rename screenshots/{manjaro-branded/1024x768-encrypted.png => manjaro-branded-encrypted.png} (100%)
rename screenshots/{manjaro-branded/1024x768.png => manjaro-branded.png} (100%)
rename screenshots/{opensuse-branded/1024x768-encrypted.png => opensuse-branded-encrypted.png} (100%)
rename screenshots/{opensuse-branded/1024x768.png => opensuse-branded.png} (100%)
rename screenshots/{steam-os-branded/1024x768-encrypted.png => steam-os-branded-encrypted.png} (100%)
rename screenshots/{steam-os-branded/1024x768.png => steam-os-branded.png} (100%)
rename screenshots/{ubuntu-branded/1024x768-encrypted.png => ubuntu-branded-encrypted.png} (100%)
rename screenshots/{ubuntu-branded/1024x768.png => ubuntu-branded.png} (100%)
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