From 7ac8c926ec717232910ead47ea4cc07cd6bbf9d1 Mon Sep 17 00:00:00 2001 From: steffen Date: Sat, 24 Jan 2026 10:24:17 +0000 Subject: [PATCH] Add contest option to PS1 mode - Include contest pack as PS1 mode choice - Keep single season path free of style prompts --- dotfiles/install/install-linux-global.sh | 19 ++++++++----------- dotfiles/install/install-macos-user.sh | 19 ++++++++----------- 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/dotfiles/install/install-linux-global.sh b/dotfiles/install/install-linux-global.sh index d3ef3d1..871c75d 100644 --- a/dotfiles/install/install-linux-global.sh +++ b/dotfiles/install/install-linux-global.sh @@ -45,7 +45,8 @@ if [[ -t 0 ]]; then echo "PS1 mode:" echo " 1) Single season (static)" echo " 2) Dynamic season (changing)" - read -r -p "Choose [2]: " season_mode_choice + echo " 3) Contest pack (static)" + read -r -p "Choose [3]: " season_mode_choice case "${season_mode_choice}" in 1) season_mode="static" @@ -63,21 +64,17 @@ if [[ -t 0 ]]; then *) echo "Invalid choice, using winter."; season_choice="winter" ;; esac - echo - 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 + style_pack="standard" ;; ""|2) season_mode="dynamic" style_pack="standard" ;; + 3) + season_mode="static" + style_pack="contest" + season_choice="winter" + ;; *) echo "Invalid choice, using dynamic." season_mode="dynamic" diff --git a/dotfiles/install/install-macos-user.sh b/dotfiles/install/install-macos-user.sh index 9d1f8a6..97be7e4 100644 --- a/dotfiles/install/install-macos-user.sh +++ b/dotfiles/install/install-macos-user.sh @@ -21,7 +21,8 @@ if [[ -t 0 ]]; then echo "PS1 mode:" echo " 1) Single season (static)" echo " 2) Dynamic season (changing)" - read -r -p "Choose [2]: " season_mode_choice + echo " 3) Contest pack (static)" + read -r -p "Choose [3]: " season_mode_choice case "${season_mode_choice}" in 1) season_mode="static" @@ -39,21 +40,17 @@ if [[ -t 0 ]]; then *) echo "Invalid choice, using winter."; season_choice="winter" ;; esac - echo - 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 + style_pack="standard" ;; ""|2) season_mode="dynamic" style_pack="standard" ;; + 3) + season_mode="static" + style_pack="contest" + season_choice="winter" + ;; *) echo "Invalid choice, using dynamic." season_mode="dynamic"