generate wp icon
parent
c882092096
commit
1dd2d5c4b5
|
@ -54,6 +54,11 @@ if [[ ! -f "$THUMB" ]]; then
|
||||||
convert ${WALLPATH} -resize 270x150^ -gravity center -extent 270x150 ${THUMB}
|
convert ${WALLPATH} -resize 270x150^ -gravity center -extent 270x150 ${THUMB}
|
||||||
fi
|
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
|
# auto generate themes
|
||||||
if command -v w2theme &> /dev/null
|
if command -v w2theme &> /dev/null
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue