diff --git a/bin/omarchy-first-run-flow b/bin/omarchy-first-run-flow index 293e6cf..51b18f6 100755 --- a/bin/omarchy-first-run-flow +++ b/bin/omarchy-first-run-flow @@ -1,6 +1,16 @@ #!/bin/bash -source ~/.local/share/omarchy/ansi.sh +# Read the manual if you have any questions while we install +setsid gtk-launch "Omarchy Manual" >/dev/null 2>&1 & + +header() { + clear + gum style \ + --foreground 212 --border-foreground 213 --border double --margin "1 0" --padding "1 3" \ + "Welcome to Omarchy!" +} + +header if gum confirm "Install editor in addition to Neovim?"; then options=("VSCode" "Cursor" "Zed" "Helix" "Nevermind") @@ -15,20 +25,20 @@ if gum confirm "Install editor in addition to Neovim?"; then esac fi -source ~/.local/share/omarchy/ansi.sh +header if gum confirm "Setup Dropbox?"; then gtk-launch chromium # FIXME: Workaround for Dropbox to be able to open with the correct scaling during initial setup ~/.local/share/omarchy/bin/omarchy-setup-dropbox fi -source ~/.local/share/omarchy/ansi.sh +header if gum confirm "Login to GitHub?"; then gh auth login fi -source ~/.local/share/omarchy/ansi.sh +header if gum confirm "Start Docker DBs?"; then options=("MySQL" "Redis" "PostgreSQL") @@ -45,10 +55,10 @@ if gum confirm "Start Docker DBs?"; then fi fi -source ~/.local/share/omarchy/ansi.sh +header + echo "Updating all system packages..." yay -Syu --noconfirm -setsid gtk-launch "Omarchy Manual" >/dev/null 2>&1 & gum spin --spinner "globe" --title "You're all set!" -- sleep 2 clear