Add contest pack prompt

- Add style pack choice before install options

- Only show style presets when contest pack is selected
This commit is contained in:
2026-01-24 10:14:53 +00:00
parent a737cf90dd
commit cf1434050a
2 changed files with 72 additions and 42 deletions

View File

@@ -26,7 +26,18 @@ install_banner=1
season_mode="dynamic"
season_choice=""
style_choice="aurora"
style_pack="standard"
if [[ -t 0 ]]; then
echo "Style pack:"
echo " 1) Standard (Aurora)"
echo " 2) Contest pack (choose from 5 styles)"
read -r -p "Choose [1]: " style_pack_pick
case "${style_pack_pick}" in
2) style_pack="contest" ;;
""|1) style_pack="standard" ;;
*) echo "Invalid choice, using standard."; style_pack="standard" ;;
esac
echo "Install options:"
echo " 1) PS1 only"
echo " 2) Banner only"
@@ -71,6 +82,7 @@ if [[ -t 0 ]]; then
;;
esac
if [[ "$style_pack" == "contest" ]]; then
echo
echo "Style presets:"
echo " 1) Aurora - Powerline blocks, seasonal palette, two-line"
@@ -92,6 +104,9 @@ if [[ -t 0 ]]; then
""|1) style_choice="aurora" ;;
*) echo "Invalid choice, using aurora."; style_choice="aurora" ;;
esac
else
style_choice="aurora"
fi
fi
fi

View File

@@ -17,6 +17,17 @@ season_mode="dynamic"
season_choice=""
style_choice="aurora"
if [[ -t 0 ]]; then
style_pack="standard"
echo "Style pack:"
echo " 1) Standard (Aurora)"
echo " 2) Contest pack (choose from 5 styles)"
read -r -p "Choose [1]: " style_pack_pick
case "${style_pack_pick}" in
2) style_pack="contest" ;;
""|1) style_pack="standard" ;;
*) echo "Invalid choice, using standard."; style_pack="standard" ;;
esac
echo "Season mode:"
echo " 1) Dynamic (auto by date)"
echo " 2) Static (pick one season)"
@@ -47,6 +58,7 @@ if [[ -t 0 ]]; then
;;
esac
if [[ "$style_pack" == "contest" ]]; then
echo
echo "Style presets:"
echo " 1) Aurora - Powerline blocks, seasonal palette, two-line"
@@ -68,6 +80,9 @@ if [[ -t 0 ]]; then
""|1) style_choice="aurora" ;;
*) echo "Invalid choice, using aurora."; style_choice="aurora" ;;
esac
else
style_choice="aurora"
fi
fi
mkdir -p "$DST_DIR"