From e724d54eb5081c82764ef16ff3c2373e301b3e70 Mon Sep 17 00:00:00 2001 From: speedie Date: Tue, 18 Apr 2023 14:18:35 +0200 Subject: [PATCH] fix images --- scripts/spmenu_run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/spmenu_run b/scripts/spmenu_run index d305293..1bfa131 100755 --- a/scripts/spmenu_run +++ b/scripts/spmenu_run @@ -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