Update
This commit is contained in:
parent
f67a059c27
commit
bd0cd2a416
|
@ -8,15 +8,9 @@ echo -e "${NONE}"
|
||||||
echo "SPACE = select/unselect a profile. RETURN = confirm. No selection = CANCEL"
|
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")
|
profile=$(gum choose --no-limit --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " "Hyprland" "Qtile")
|
||||||
|
|
||||||
IFS=' ' read -r -a profile_array <<< "$profile"
|
if [ -z "${profile}" ] ;then
|
||||||
|
echo "No profile selected. Installation canceled."
|
||||||
echo $profile_array
|
exit
|
||||||
|
else
|
||||||
echo "${#profile_array[@]}"
|
echo "Profile/s selected:" $profile
|
||||||
|
fi
|
||||||
# if [ -z $profile ] ;then
|
|
||||||
# echo "No profile selected. Installation canceled."
|
|
||||||
# exit
|
|
||||||
# else
|
|
||||||
# echo "Profile/s selected: $profile"
|
|
||||||
# fi
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user