From 938542ad0f2187bf7930cf8e0af40459f591ca46 Mon Sep 17 00:00:00 2001 From: germedeb Date: Mon, 21 Feb 2022 18:00:32 -0300 Subject: [PATCH] corrected the resolution export of some export scripts, and frist step to scalability --- tasks/export/export-animations.sh | 4 +--- tasks/export/export-categories.sh | 3 +-- tasks/export/export-devices.sh | 6 +----- tasks/export/export-status.sh | 1 - tasks/mvscalable.sh | 11 +++++++++++ 5 files changed, 14 insertions(+), 11 deletions(-) create mode 100755 tasks/mvscalable.sh diff --git a/tasks/export/export-animations.sh b/tasks/export/export-animations.sh index 94190bf..965ce52 100755 --- a/tasks/export/export-animations.sh +++ b/tasks/export/export-animations.sh @@ -8,14 +8,12 @@ do parallel ::: \ "inkscape -w 8 -h 8 -o _build/aleta/animations/8/${N}.png ${SVG}" \ "inkscape -w 16 -h 16 -o _build/aleta/animations/16/${N}.png ${SVG}" \ - "inkscape -w 22 -h 22 -o _build/aleta/animations/22/${N}.png ${SVG}" \ "inkscape -w 24 -h 24 -o _build/aleta/animations/24/${N}.png ${SVG}" \ "inkscape -w 32 -h 32 -o _build/aleta/animations/32/${N}.png ${SVG}" \ "inkscape -w 48 -h 48 -o _build/aleta/animations/48/${N}.png ${SVG}" \ "inkscape -w 64 -h 64 -o _build/aleta/animations/64/${N}.png ${SVG}" \ "inkscape -w 96 -h 96 -o _build/aleta/animations/96/${N}.png ${SVG}" \ - "inkscape -w 128 -h 128 -o _build/aleta/animations/128/${N}.png ${SVG}" \ - "inkscape -w 256 -h 256 -o _build/aleta/animations/256/${N}.png ${SVG}" + "inkscape -w 128 -h 128 -o _build/aleta/animations/128/${N}.png ${SVG}" mv ${SVG} _build/icons-e/animations/ fi diff --git a/tasks/export/export-categories.sh b/tasks/export/export-categories.sh index d6a2c3e..f9b9cf7 100755 --- a/tasks/export/export-categories.sh +++ b/tasks/export/export-categories.sh @@ -14,8 +14,7 @@ do "inkscape -w 48 -h 48 -o _build/aleta/categories/48/${N}.png ${SVG}" \ "inkscape -w 64 -h 64 -o _build/aleta/categories/64/${N}.png ${SVG}" \ "inkscape -w 96 -h 96 -o _build/aleta/categories/96/${N}.png ${SVG}" \ - "inkscape -w 128 -h 128 -o _build/aleta/categories/128/${N}.png ${SVG}" \ - "inkscape -w 256 -h 256 -o _build/aleta/categories/256/${N}.png ${SVG}" + "inkscape -w 128 -h 128 -o _build/aleta/categories/128/${N}.png ${SVG}" mv ${SVG} _build/icons-e/categories/ fi diff --git a/tasks/export/export-devices.sh b/tasks/export/export-devices.sh index 8990191..f9bb819 100755 --- a/tasks/export/export-devices.sh +++ b/tasks/export/export-devices.sh @@ -6,16 +6,12 @@ do N=$(basename ${SVG} .svg) parallel ::: \ - "inkscape -w 8 -h 8 -o _build/aleta/devices/8/${N}.png ${SVG}" \ "inkscape -w 16 -h 16 -o _build/aleta/devices/16/${N}.png ${SVG}" \ - "inkscape -w 22 -h 22 -o _build/aleta/devices/22/${N}.png ${SVG}" \ "inkscape -w 24 -h 24 -o _build/aleta/devices/24/${N}.png ${SVG}" \ "inkscape -w 32 -h 32 -o _build/aleta/devices/32/${N}.png ${SVG}" \ "inkscape -w 48 -h 48 -o _build/aleta/devices/48/${N}.png ${SVG}" \ "inkscape -w 64 -h 64 -o _build/aleta/devices/64/${N}.png ${SVG}" \ - "inkscape -w 96 -h 96 -o _build/aleta/devices/96/${N}.png ${SVG}" \ - "inkscape -w 128 -h 128 -o _build/aleta/devices/128/${N}.png ${SVG}" \ - "inkscape -w 256 -h 256 -o _build/aleta/devices/256/${N}.png ${SVG}" + "inkscape -w 96 -h 96 -o _build/aleta/devices/96/${N}.png ${SVG}" mv ${SVG} _build/icons-e/devices/ fi diff --git a/tasks/export/export-status.sh b/tasks/export/export-status.sh index 4517b04..e0a79b5 100755 --- a/tasks/export/export-status.sh +++ b/tasks/export/export-status.sh @@ -8,7 +8,6 @@ do parallel ::: \ "inkscape -w 8 -h 8 -o _build/aleta/status/8/${N}.png ${SVG}" \ "inkscape -w 16 -h 16 -o _build/aleta/status/16/${N}.png ${SVG}" \ - "inkscape -w 22 -h 22 -o _build/aleta/status/22/${N}.png ${SVG}" \ "inkscape -w 24 -h 24 -o _build/aleta/status/24/${N}.png ${SVG}" \ "inkscape -w 32 -h 32 -o _build/aleta/status/32/${N}.png ${SVG}" \ "inkscape -w 48 -h 48 -o _build/aleta/status/48/${N}.png ${SVG}" \ diff --git a/tasks/mvscalable.sh b/tasks/mvscalable.sh new file mode 100755 index 0000000..124eef8 --- /dev/null +++ b/tasks/mvscalable.sh @@ -0,0 +1,11 @@ +#! /bin/sh + +# move apps to the build folder +mv icons/apps/* _build/aleta/apps/scalable + +# move status +mv icons/scalable/status/* _build/aleta/status/scalable + +# move animations +mv icons/scalable/animations/* _build/aleta/animations/scalable +