mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Use a header that won't fold on a small screen
This commit is contained in:
@ -1,6 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/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
|
if gum confirm "Install editor in addition to Neovim?"; then
|
||||||
options=("VSCode" "Cursor" "Zed" "Helix" "Nevermind")
|
options=("VSCode" "Cursor" "Zed" "Helix" "Nevermind")
|
||||||
@ -15,20 +25,20 @@ if gum confirm "Install editor in addition to Neovim?"; then
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source ~/.local/share/omarchy/ansi.sh
|
header
|
||||||
|
|
||||||
if gum confirm "Setup Dropbox?"; then
|
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
|
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
|
~/.local/share/omarchy/bin/omarchy-setup-dropbox
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source ~/.local/share/omarchy/ansi.sh
|
header
|
||||||
|
|
||||||
if gum confirm "Login to GitHub?"; then
|
if gum confirm "Login to GitHub?"; then
|
||||||
gh auth login
|
gh auth login
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source ~/.local/share/omarchy/ansi.sh
|
header
|
||||||
|
|
||||||
if gum confirm "Start Docker DBs?"; then
|
if gum confirm "Start Docker DBs?"; then
|
||||||
options=("MySQL" "Redis" "PostgreSQL")
|
options=("MySQL" "Redis" "PostgreSQL")
|
||||||
@ -45,10 +55,10 @@ if gum confirm "Start Docker DBs?"; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source ~/.local/share/omarchy/ansi.sh
|
header
|
||||||
|
|
||||||
echo "Updating all system packages..."
|
echo "Updating all system packages..."
|
||||||
yay -Syu --noconfirm
|
yay -Syu --noconfirm
|
||||||
|
|
||||||
setsid gtk-launch "Omarchy Manual" >/dev/null 2>&1 &
|
|
||||||
gum spin --spinner "globe" --title "You're all set!" -- sleep 2
|
gum spin --spinner "globe" --title "You're all set!" -- sleep 2
|
||||||
clear
|
clear
|
||||||
|
Reference in New Issue
Block a user