From d6cc1921882c5746b17eccb80947a6242b6260f4 Mon Sep 17 00:00:00 2001 From: TyleoDvDelaware3217 Date: Thu, 29 May 2025 17:33:21 +0200 Subject: [PATCH] Update-Flatpacks-Menu --- flatpak_selections | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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