diff --git a/app/installations/install-optional-apps.sh b/app/installations/install-optional-apps.sh index 26d72b4..016a899 100644 --- a/app/installations/install-optional-apps.sh +++ b/app/installations/install-optional-apps.sh @@ -1,7 +1,6 @@ OPTIONAL_APPS=($(ls "$MANJIKAZE_DIR/app/installations/optional/"*.sh | xargs -n1 basename | sed 's/\.sh$//')) -DEFAULT_OPTIONAL_APPS='dropbox,signal,smartgit,spotify' -SELECTED_OPTIONAL_APPS=$(gum choose "${OPTIONAL_APPS[@]}" --no-limit --selected $DEFAULT_OPTIONAL_APPS --height 20 --header "Select optional apps" | tr ' ' '-') +SELECTED_OPTIONAL_APPS=$(gum choose "${OPTIONAL_APPS[@]}" --no-limit --height 20 --header "Select optional apps" | tr ' ' '|') if [ -z "$SELECTED_OPTIONAL_APPS" ]; then status "No optional apps selected. Skipping installation." @@ -9,7 +8,7 @@ if [ -z "$SELECTED_OPTIONAL_APPS" ]; then fi echo "The following optional apps will be installed:" -printf " - %s\n" ${SELECTED_OPTIONAL_APPS//-/ } +printf " - %s\n" ${SELECTED_OPTIONAL_APPS//|/ } if ! gum confirm "Do you want to proceed with the installation?"; then status "Optional apps installation cancelled." @@ -19,7 +18,7 @@ fi status "Installing optional apps..." disable_sleep -for app in ${SELECTED_OPTIONAL_APPS//-/ }; do +for app in ${SELECTED_OPTIONAL_APPS//|/ }; do app_file="$MANJIKAZE_DIR/app/installations/optional/${app,,}.sh" if [ -f "$app_file" ]; then source "$app_file" diff --git a/app/installations/optional/aws-session-manager-plugin.sh b/app/installations/optional/aws-session-manager-plugin.sh new file mode 100644 index 0000000..1f822e3 --- /dev/null +++ b/app/installations/optional/aws-session-manager-plugin.sh @@ -0,0 +1,2 @@ +install_package "aws-session-manager-plugin" aur +