generate wp icon

master
Daniel Napora 2023-08-30 17:48:49 +02:00
parent c882092096
commit 1dd2d5c4b5
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@ if [[ ! -f "$THUMB" ]]; then
convert ${WALLPATH} -resize 270x150^ -gravity center -extent 270x150 ${THUMB}
fi
# GENERATE ICON
convert ${WALLPATH} -resize 52x52^ -gravity center -extent 52x52 -bordercolor white -border 5 \
-bordercolor grey60 -border 1 ~/.config/mabox/wpicon.png
killall -SIGUSR1 tint2
# auto generate themes
if command -v w2theme &> /dev/null
then