fix gui bug

pull/7/head
Botspot 5 years ago
parent 97edee68e0
commit 190dbd046d

3
gui

@ -16,13 +16,14 @@ while true;do
for i in $APPS for i in $APPS
do do
LIST="${LIST}$(echo "${DIRECTORY}/icons/$(cat "${DIRECTORY}/data/status/${i}" || echo "none").png") LIST="$LIST$(echo "${DIRECTORY}/icons/$(cat "${DIRECTORY}/data/status/${i}" || echo "none").png")
${DIRECTORY}/apps/${i}/icon-24.png ${DIRECTORY}/apps/${i}/icon-24.png
$i $i
"\("$(cat "${DIRECTORY}/data/status/${i}" || echo "Unknown state")"\)" $(echo "$(cat "${DIRECTORY}/apps/${i}/description" || echo "Description unavailable")" | head -n1) "\("$(cat "${DIRECTORY}/data/status/${i}" || echo "Unknown state")"\)" $(echo "$(cat "${DIRECTORY}/apps/${i}/description" || echo "Description unavailable")" | head -n1)
" "
done done
IFS="$PREIFS" IFS="$PREIFS"
LIST="$(echo -e "$LIST")"
#echo "$LIST" #echo "$LIST"
output="$(echo -e "$LIST" | yad --center --title='Pi-Apps' --width=300 --height=300 --no-headers \ output="$(echo -e "$LIST" | yad --center --title='Pi-Apps' --width=300 --height=300 --no-headers \
--list --separator='\n' --window-icon="${DIRECTORY}/icons/logo.png" \ --list --separator='\n' --window-icon="${DIRECTORY}/icons/logo.png" \

Loading…
Cancel
Save