fix images

This commit is contained in:
speedie 2023-04-18 14:18:35 +02:00
parent 6e6888c9bc
commit e724d54eb5

View file

@ -426,7 +426,7 @@ main_desktop() {
command -v "${it_exec[i]}" > /dev/null || continue # why bother if we can't execute it?
# print it all
[ "$USEIMAGE" = "true" ] && [ ! -e "$icon" ] && USEIMAGE=false && reenable=1
[ "$USEIMAGE" = "true" ] && [ ! -e "${it_icon[i]}" ] && USEIMAGE=false && reenable=1
[ "$USEIMAGE" = "true" ] && printf "%s\t%s\n" "IMG:${it_icon[i]}" "${it_title[i]}" || \
printf "%s\n" "${it_title[i]}"
[ "$reenable" = "1" ] && USEIMAGE=true