corrected the resolution export of some export scripts, and frist step to scalability

This commit is contained in:
germedeb 2022-02-21 18:00:32 -03:00
parent 20b4b584a3
commit 938542ad0f
5 changed files with 14 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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}" \

11
tasks/mvscalable.sh Executable file
View File

@ -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