17 lines
526 B
Bash
Raw Normal View History

2023-11-10 21:12:15 +00:00
# ------------------------------------------------------
# Select installation profile
# ------------------------------------------------------
2023-11-17 13:48:02 +01:00
echo -e "${GREEN}"
2023-12-29 12:11:44 +01:00
figlet "Profile"
2023-11-17 13:48:02 +01:00
echo -e "${NONE}"
2024-05-27 13:39:44 +02:00
echo "Please select your installation profile."
echo
2023-11-21 21:19:51 +01:00
profile=$(gum choose --no-limit --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " "Hyprland" "Qtile")
2024-01-24 11:43:49 +01:00
2024-01-24 11:49:10 +01:00
if [ -z "${profile}" ] ;then
2024-05-27 13:39:44 +02:00
echo ":: No profile selected. Installation canceled."
2024-01-24 11:49:10 +01:00
exit
else
2024-05-27 13:39:44 +02:00
echo ":: Profile/s selected:" $profile
2024-01-24 11:49:10 +01:00
fi