Structure the installers explicitly with clearly defined segments

This commit is contained in:
David Heinemeier Hansson
2025-07-25 16:48:53 -04:00
parent 25acc313b1
commit b5f60f78a8
29 changed files with 67 additions and 44 deletions

View File

@ -1,15 +0,0 @@
#!/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 ${2:-120} ${1:-expand}
echo -e ""
}
show_subtext() {
echo "$1" | tte --frame-rate ${3:-640} ${2:-wipe}
echo -e ""
}

View File

@ -1,7 +1,4 @@
#!/bin/bash
show_logo beams 240
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> ")

View File

@ -1,8 +1,5 @@
#!/bin/bash
show_logo
show_subtext "Install decryption and boot loader..."
yay -S --noconfirm --needed uwsm
# Compile the seamless login helper -- needed to prevent seeing terminal between loader and desktop

View File

@ -1,8 +1,5 @@
#!/bin/bash
show_logo
show_subtext "Let's install desktop tools..."
yay -S --noconfirm --needed \
brightnessctl playerctl pamixer wiremix wireplumber \
fcitx5 fcitx5-gtk fcitx5-qt wl-clip-persist \

View File

@ -1,8 +1,5 @@
#!/bin/bash
show_logo
show_subtext "Install beautiful fonts..."
if [ -z "$OMARCHY_BARE" ]; then
yay -S --noconfirm --needed ttf-font-awesome noto-fonts noto-fonts-emoji noto-fonts-cjk noto-fonts-extra
else

View File

@ -1,8 +1,5 @@
#!/bin/bash
show_logo
show_subtext "Installing Hyprland ecosystem..."
yay -S --noconfirm --needed \
hyprland hyprshot hyprpicker hyprlock hypridle polkit-gnome hyprland-qtutils \
walker-bin libqalculate waybar mako swaybg swayosd \

View File

@ -1,7 +1,4 @@
#!/bin/bash
show_logo
show_subtext "Installing printer system..."
sudo pacman -S --noconfirm cups cups-pdf cups-filters system-config-printer
sudo systemctl enable --now cups.service

View File

@ -1,8 +1,5 @@
#!/bin/bash
show_logo
show_subtext "Let's install development tools..."
yay -S --noconfirm --needed \
cargo clang llvm mise \
imagemagick \

View File

@ -0,0 +1,3 @@
#!/bin/bash
yay -S --noconfirm --needed gum python-terminaltexteffects