Setup presentation tooling and functions as a separate step

This commit is contained in:
David Heinemeier Hansson
2025-07-25 15:25:39 -04:00
parent 165c940df2
commit 65a5bbad82
5 changed files with 22 additions and 13 deletions

View File

@ -1,13 +0,0 @@
#!/bin/bash
# Need gum to query for input
yay -S --noconfirm --needed gum python-terminaltexteffects
# Configure identification
clear
tte -i ~/.local/share/omarchy/logo.txt --frame-rate 120 expand
echo -e ""
echo "Let's install Omarchy!" | tte --frame-rate 640 wipe
echo -e ""
export OMARCHY_USER_NAME=$(gum input --placeholder "Enter full name" --prompt "Name> ")
export OMARCHY_USER_EMAIL=$(gum input --placeholder "Enter email address" --prompt "Email> ")

15
install/2-presentation.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# Need gum to query for input
yay -S --noconfirm --needed gum python-terminaltexteffects
show_logo() {
clear
tte -i ~/.local/share/omarchy/logo.txt --frame-rate 120 expand
echo -e ""
}
show_subtext() {
echo "$1" | tte --frame-rate 640 wipe
echo -e ""
}

View File

@ -0,0 +1,7 @@
#!/bin/bash
show_logo
show_subtext "Let's install Omarchy!"
export OMARCHY_USER_NAME=$(gum input --placeholder "Enter full name" --prompt "Name> ")
export OMARCHY_USER_EMAIL=$(gum input --placeholder "Enter email address" --prompt "Email> ")