diff --git a/flatpak_selections b/flatpak_selections index 9832574..6d45188 100644 --- a/flatpak_selections +++ b/flatpak_selections @@ -23,11 +23,11 @@ MENU_OPTIONS=() for SCRIPT in "${SCRIPTS[@]}"; do # Remove underscores and capitalize first letter of each word DISPLAY_NAME=$(echo "$SCRIPT" | sed 's/_/ /g' | awk '{for(i=1;i<=NF;i++) $i=toupper(substr($i,1,1)) substr($i,2)} 1') - MENU_OPTIONS+=("Flatpackage" "$DISPLAY_NAME") + MENU_OPTIONS+=("$SCRIPT" "$DISPLAY_NAME") done # Show menu with the new title -SELECTED_SCRIPT=$(whiptail --title "TyOS Flatpak Selections" --menu "Choose a script to run:" 20 60 10 "${MENU_OPTIONS[@]}" 3>&1 1>&2 2>&3) +SELECTED_SCRIPT=$(whiptail --title "TyOS Flatpacks Selections" --noitem --menu "Choose a script to run:" 20 60 10 "${MENU_OPTIONS[@]}" 3>&1 1>&2 2>&3) # Check if a script was selected if [[ -n "$SELECTED_SCRIPT" ]]; then