[gnome-themes-extra] Use zopflipng in Adwaita-dark too



commit 5da6aafa414c34298ddf735490c8246bc9778a27
Author: Juraj Fiala <jurf riseup net>
Date:   Sun Jan 28 11:34:33 2018 +0100

    Use zopflipng in Adwaita-dark too

 themes/Adwaita-dark/gtk-2.0/render-assets-external.sh | 4 ++--
 themes/Adwaita-dark/gtk-2.0/render-assets.sh          | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita-dark/gtk-2.0/render-assets-external.sh 
b/themes/Adwaita-dark/gtk-2.0/render-assets-external.sh
index 9a24e479..b2268c14 100755
--- a/themes/Adwaita-dark/gtk-2.0/render-assets-external.sh
+++ b/themes/Adwaita-dark/gtk-2.0/render-assets-external.sh
@@ -1,7 +1,7 @@
 #! /bin/bash
 
 INKSCAPE="/usr/bin/inkscape"
-OPTIPNG="/usr/bin/optipng"
+ZOPFLIPNG="/usr/bin/zopflipng"
 
 SRC_FILE="assets-external.svg"
 ASSETS_DIR="assets"
@@ -18,7 +18,7 @@ else
               --export-id-only \
               --export-background-opacity=0 \
               --export-png=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null \
-    && $OPTIPNG -o7 --quiet $ASSETS_DIR/$i.png 
+    && $ZOPFLIPNG -ym $ASSETS_DIR/$i.png $ASSETS_DIR/$i.png
 fi
 done
 exit 0
diff --git a/themes/Adwaita-dark/gtk-2.0/render-assets.sh b/themes/Adwaita-dark/gtk-2.0/render-assets.sh
old mode 100644
new mode 100755
index abc5e938..e6192db2
--- a/themes/Adwaita-dark/gtk-2.0/render-assets.sh
+++ b/themes/Adwaita-dark/gtk-2.0/render-assets.sh
@@ -1,7 +1,7 @@
 #! /bin/bash
 
 INKSCAPE="/usr/bin/inkscape"
-OPTIPNG="/usr/bin/optipng"
+ZOPFLIPNG="/usr/bin/zopflipng"
 
 SRC_FILE="assets.svg"
 ASSETS_DIR="assets"
@@ -18,7 +18,7 @@ else
               --export-id-only \
               --export-background-opacity=0 \
               --export-png=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null \
-    && $OPTIPNG -o7 --quiet $ASSETS_DIR/$i.png 
+    && $ZOPFLIPNG -ym $ASSETS_DIR/$i.png $ASSETS_DIR/$i.png
 fi
 done
 exit 0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]