hyprland-dotfiles/.install/profile.sh
Stephan Raabe f67a059c27 Updates
2024-01-24 11:43:49 +01:00

23 lines
657 B
Bash
Executable File

# ------------------------------------------------------
# Select installation profile
# ------------------------------------------------------
echo -e "${GREEN}"
figlet "Profile"
echo -e "${NONE}"
echo "SPACE = select/unselect a profile. RETURN = confirm. No selection = CANCEL"
profile=$(gum choose --no-limit --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " "Hyprland" "Qtile")
IFS=' ' read -r -a profile_array <<< "$profile"
echo $profile_array
echo "${#profile_array[@]}"
# if [ -z $profile ] ;then
# echo "No profile selected. Installation canceled."
# exit
# else
# echo "Profile/s selected: $profile"
# fi