new icon look

This commit is contained in:
2023-08-20 12:10:23 +02:00
parent 534547ce67
commit 81b81580c6
19 changed files with 18 additions and 1 deletions

16
scripts/resize-icons.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
if [ "$1" != "" ]; then # check if arg 1 is present
FILE=$1
else
echo "Please provide a file as an argument."
exit 1
fi
SIZES=("16x16" "22x22" "24x24" "32x32" "48x48" "64x64" "128x128" "256x256" "384x384")
echo "Resizing $FILE..."
for i in "${SIZES[@]}"; do
convert "$FILE" -resize "$i" "$i.png"
done