mirror of
https://github.com/aljazceru/omakub.git
synced 2025-12-17 04:24:20 +01:00
15 lines
927 B
Bash
15 lines
927 B
Bash
# Only ask for default desktop app choices when running Gnome
|
|
if [[ "$XDG_CURRENT_DESKTOP" == *"GNOME"* ]]; then
|
|
OPTIONAL_APPS=("Spotify" "Zoom" "Dropbox")
|
|
DEFAULT_OPTIONAL_APPS='Spotify,Zoom'
|
|
export OMAKUB_FIRST_RUN_OPTIONAL_APPS=$(gum choose "${OPTIONAL_APPS[@]}" --no-limit --selected $DEFAULT_OPTIONAL_APPS --height 7 --header "Select optional apps" | tr ' ' '-')
|
|
fi
|
|
|
|
AVAILABLE_LANGUAGES=("Ruby on Rails" "Node.js" "Go" "PHP" "Python" "Elixir" "Rust" "Java")
|
|
SELECTED_LANGUAGES="Python","Node.js","Go","Rust"
|
|
export OMAKUB_FIRST_RUN_LANGUAGES=$(gum choose "${AVAILABLE_LANGUAGES[@]}" --no-limit --selected "$SELECTED_LANGUAGES" --height 10 --header "Select programming languages")
|
|
|
|
AVAILABLE_DBS=("MySQL" "Redis" "PostgreSQL")
|
|
SELECTED_DBS="PostgreSQL,Redis"
|
|
export OMAKUB_FIRST_RUN_DBS=$(gum choose "${AVAILABLE_DBS[@]}" --no-limit --selected "$SELECTED_DBS" --height 5 --header "Select databases (runs in Docker)")
|