Now all the export scripts echoes the SVG they are exporting

This commit is contained in:
germedeb 2022-02-22 21:01:17 -03:00
parent 722223f3ea
commit ac15df9a60
8 changed files with 12 additions and 0 deletions

View File

@ -5,6 +5,7 @@ do
if [[ -f "${SVG}" ]]; then if [[ -f "${SVG}" ]]; then
N=$(basename ${SVG} .svg) N=$(basename ${SVG} .svg)
echo exporting ${SVG}
parallel ::: \ parallel ::: \
"inkscape -w 8 -h 8 -o _build/aleta/actions/8/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 8 -h 8 -o _build/aleta/actions/8/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 16 -h 16 -o _build/aleta/actions/16/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 16 -h 16 -o _build/aleta/actions/16/${N}.png ${SVG} >/dev/null 2>&1" \

View File

@ -5,6 +5,7 @@ do
if [[ -f "${SVG}" ]]; then if [[ -f "${SVG}" ]]; then
N=$(basename ${SVG} .svg) N=$(basename ${SVG} .svg)
echo exporting ${SVG}
parallel ::: \ parallel ::: \
"inkscape -w 8 -h 8 -o _build/aleta/animations/8/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 8 -h 8 -o _build/aleta/animations/8/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 16 -h 16 -o _build/aleta/animations/16/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 16 -h 16 -o _build/aleta/animations/16/${N}.png ${SVG} >/dev/null 2>&1" \

View File

@ -4,6 +4,7 @@ for SVG in _build/icons-t/apps/*.svg
do do
if [[ -f "${SVG}" ]]; then if [[ -f "${SVG}" ]]; then
N=$(basename ${SVG} .svg) N=$(basename ${SVG} .svg)
echo exporting ${SVG} echo exporting ${SVG}
parallel ::: \ parallel ::: \

View File

@ -5,6 +5,8 @@ do
if [[ -f "${SVG}" ]]; then if [[ -f "${SVG}" ]]; then
N=$(basename ${SVG} .svg) N=$(basename ${SVG} .svg)
echo exporting ${SVG}
parallel ::: \ parallel ::: \
"inkscape -w 8 -h 8 -o _build/aleta/categories/8/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 8 -h 8 -o _build/aleta/categories/8/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 16 -h 16 -o _build/aleta/categories/16/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 16 -h 16 -o _build/aleta/categories/16/${N}.png ${SVG} >/dev/null 2>&1" \

View File

@ -5,6 +5,8 @@ do
if [[ -f "${SVG}" ]]; then if [[ -f "${SVG}" ]]; then
N=$(basename ${SVG} .svg) N=$(basename ${SVG} .svg)
echo exporting ${SVG}
parallel ::: \ parallel ::: \
"inkscape -w 16 -h 16 -o _build/aleta/devices/16/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 16 -h 16 -o _build/aleta/devices/16/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 24 -h 24 -o _build/aleta/devices/24/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 24 -h 24 -o _build/aleta/devices/24/${N}.png ${SVG} >/dev/null 2>&1" \

View File

@ -5,6 +5,8 @@ do
if [[ -f "${SVG}" ]]; then if [[ -f "${SVG}" ]]; then
N=$(basename ${SVG} .svg) N=$(basename ${SVG} .svg)
echo exporting ${SVG}
parallel ::: \ parallel ::: \
"inkscape -w 8 -h 8 -o _build/aleta/mimetypes/8/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 8 -h 8 -o _build/aleta/mimetypes/8/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 16 -h 16 -o _build/aleta/mimetypes/16/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 16 -h 16 -o _build/aleta/mimetypes/16/${N}.png ${SVG} >/dev/null 2>&1" \

View File

@ -6,6 +6,7 @@ do
N=$(basename ${SVG} .svg) N=$(basename ${SVG} .svg)
echo exporting ${SVG} echo exporting ${SVG}
parallel ::: \ parallel ::: \
"inkscape -w 8 -h 8 -o _build/aleta/places/8/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 8 -h 8 -o _build/aleta/places/8/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 16 -h 16 -o _build/aleta/places/16/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 16 -h 16 -o _build/aleta/places/16/${N}.png ${SVG} >/dev/null 2>&1" \

View File

@ -5,6 +5,8 @@ do
if [[ -f "${SVG}" ]]; then if [[ -f "${SVG}" ]]; then
N=$(basename ${SVG} .svg) N=$(basename ${SVG} .svg)
echo exporting ${SVG}
parallel ::: \ parallel ::: \
"inkscape -w 8 -h 8 -o _build/aleta/status/8/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 8 -h 8 -o _build/aleta/status/8/${N}.png ${SVG} >/dev/null 2>&1" \
"inkscape -w 16 -h 16 -o _build/aleta/status/16/${N}.png ${SVG} >/dev/null 2>&1" \ "inkscape -w 16 -h 16 -o _build/aleta/status/16/${N}.png ${SVG} >/dev/null 2>&1" \