Back to default colors here

This commit is contained in:
Ryan Hughes
2025-10-27 19:05:01 -04:00
parent d9a077d5b6
commit ef0a9464a2

View File

@@ -4,17 +4,13 @@ set -e
trap 'echo ""; echo -e "\033[0;31mSomething went wrong during the update!\n\nPlease review the output above carefully, correct the error, and retry the update.\n\nIf you need assistance, get help from the community at https://omarchy.org/discord\033[0m"' ERR trap 'echo ""; echo -e "\033[0;31mSomething went wrong during the update!\n\nPlease review the output above carefully, correct the error, and retry the update.\n\nIf you need assistance, get help from the community at https://omarchy.org/discord\033[0m"' ERR
gum style --border rounded --border-foreground 6 --padding "1 2" --margin "1 0" \ gum style --border normal --border-foreground 6 --padding "1 2" --margin "1 0" \
"Ready to update Omarchy?" \ "Ready to update Omarchy?" \
"" \ "" \
"• You cannot stop the update once you start!" \ "• You cannot stop the update once you start!" \
"• Make sure you're not on battery power or have sufficient charge" "• Make sure you're not on battery power or have sufficient charge"
if ! gum confirm --default=false \ if ! gum confirm --default=false "Continue with update?"; then
--prompt.foreground=6 \
--selected.foreground=0 --selected.background=2 \
--unselected.foreground=0 --unselected.background=7 \
"Continue with update?"; then
echo "Update cancelled" echo "Update cancelled"
exit 0 exit 0
fi fi