Former-commit-id: 81574fd7bc
This commit is contained in:
Hadi
2024-07-01 08:31:12 +00:00
parent 985a8b063d
commit e1ad72405f
6 changed files with 72 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Compress png files in ./docs/src
# Compress png files in ./docs/src and ./home/wallpapers
[[ -d "./docs" ]] || (echo "Folder ./docs not found" && exit 1)
@@ -14,6 +14,7 @@ for file in ./docs/src/*/*.png; do
optipng "$file"
done
# Wallpapers
for file in ./home/wallpapers/*.png; do
optipng "$file"
done