@@ -273,7 +273,7 @@ app_details_page() {
273273 GDK_BACKEND=x11 $YAD_COMMAND --class LinStore --title=" App Details" --geometry=450x${APP_STORE_HEIGHT} +${x2} +${categoryPosY} --form --class=" LinStore" \
274274 --text " <big>${displayName} </big>\nBy <b>${creator} </b> (<a href='${website} '>App Website</a>)\n${donate} " \
275275 --field=" <b>Description</b>:TXT" --no-edit " $description " --image=" $app_icon " --window-icon=" images/logo/logo-64.png" --image-on-top \
276- --button=" $buttonText !$buttonImage :$buttonCommand " " ${buttons[@]} " --skip-taskbar --noclose
276+ --button=" $buttonText !$buttonImage :$buttonCommand " " ${buttons[@]} " --skip-taskbar --noclose &
277277 )
278278
279279 rm -f /tmp/description.tmp
@@ -316,7 +316,7 @@ show_apps_in_category() {
316316 GTK_THEME=" ${theme} " GDK_BACKEND=x11 $YAD_COMMAND --text " <big><b>$title </b></big>" --geometry=${APP_STORE_WIDTH} x${APP_STORE_HEIGHT} +${categoryPos} +${categoryPosY} --center --columns=" 2" \
317317 --list --image=" images/logo/logo-64.png" --window-icon=" images/logo/logo-64.png" --image-on-top --title " LinStore" --column " Icon:IMG" --column " Apps" --class=" LinStore" \
318318 --button=" Back" ! images/button/back.png! :4 --separator=" \n" --markup " ${formatted_apps[@]} " --no-headers \
319- --css=" span{fgcolor:green;}" --select-action=' bash -c "./gui showdetails \"%s\""' # > /dev/null 2>&1
319+ --css=" span{fgcolor:green;}" --select-action=' bash -c "./gui showdetails \"%s\"" & ' # > /dev/null 2>&1
320320
321321 button_clicked=$?
322322 if [ $button_clicked -eq 4 ]; then
@@ -351,9 +351,13 @@ show_app_store() {
351351
352352 # Search function
353353
354- selected_category_raw=$( GTK_THEME=" ${theme} " GDK_BACKEND=x11 $YAD_COMMAND --text " $random_announcement " --geometry=${APP_STORE_WIDTH} x${APP_STORE_HEIGHT} +${categoryPos} +${categoryPosY} --center --columns=" 3" \
354+ selected_category_raw=$( GTK_THEME=" ${theme} " GDK_BACKEND=x11 $YAD_COMMAND --text " $random_announcement " \
355+ --geometry=${APP_STORE_WIDTH} x${APP_STORE_HEIGHT} +${categoryPos} +${categoryPosY} --center --columns=" 3" \
355356 " ${list_items[@]} " --class=" LinStore" \
356- --list --image=" images/logo/logo-64.png" --window-icon=" images/logo/logo-64.png" --image-on-top --title " $APP_STORE_NAME " --column " Icon:IMG" --column " Category" --button " !images/button/search.png" ! " Search" :" bash -c './api search'" --button " !images/button/update.png" ! " Updates" :" bash -c './update'" --button " !images/button/settings.png" ! " Settings" :" bash -c './settings'" --no-headers --item-height=" $welcome_height " --timeout=0 --no-close)
357+ --list --image=" images/logo/logo-64.png" --window-icon=" images/logo/logo-64.png" --image-on-top --title " $APP_STORE_NAME " --column " Icon:IMG" \
358+ --column " Category" --button " !images/button/search.png" ! " Search" :" bash -c './api search' &" \
359+ --button " !images/button/update.png" ! " Updates" :" bash -c './update' &" --button " !images/button/settings.png" ! " Settings" :" bash -c './settings' &" \
360+ --no-headers --item-height=" $welcome_height " --timeout=0 --no-close)
357361 exval=$?
358362 ./api info " Exit value: ${exval} "
359363 selected_category=" ${selected_category_raw// |/ } "
@@ -365,7 +369,7 @@ show_app_store() {
365369 elif [ " $exval " -eq " 252" ]; then
366370 pkill -f " yad*" > /dev/null 2>&1
367371 elif [ -n " $selected_category " ]; then
368- show_apps_in_category " $selected_category "
372+ show_apps_in_category " $selected_category " &
369373 fi
370374}
371375
0 commit comments