add message of the day and icon

pull/69/head
Botspot 4 years ago
parent 0b6051e6cf
commit 50e9ac0848

3
gui

@ -64,12 +64,15 @@ while true;do
#LIST="$(cat "${DIRECTORY}/data/preload/LIST")"
#echo "$LIST"
motd="$(wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps-announcements/main/message)"
#if output is not empty then assume button pressed was Details
button=0
while [ -z "$output" ];do
output="$(echo -e "$LIST" | yad --center --title='Pi-Apps' --width=310 --height=400 --no-headers \
--text="$motd" --image="${DIRECTORY}/icons/logo-64.png" --image-on-top \
--list --separator='\n' --window-icon="${DIRECTORY}/icons/logo.png" \
--column=:IMG --column=:IMG --column=Name --column=tip:HD --print-column=3 --tooltip-column=4 \
--button=Install!"${DIRECTORY}/icons/install.png":4 \

Loading…
Cancel
Save