diff --git a/install.sh b/install.sh index 597c32d3..0e9693c5 100755 --- a/install.sh +++ b/install.sh @@ -17,13 +17,13 @@ trap catch_errors ERR show_logo() { clear - # tte -i ~/.local/share/omarchy/logo.txt --frame-rate ${2:-120} ${1:-expand} + tte -i ~/.local/share/omarchy/logo.txt --frame-rate ${2:-120} ${1:-expand} cat <~/.local/share/omarchy/logo.txt echo } show_subtext() { - echo "$1" # | tte --frame-rate ${3:-640} ${2:-wipe} + echo "$1" | tte --frame-rate ${3:-640} ${2:-wipe} echo } @@ -31,7 +31,7 @@ show_subtext() { source $OMARCHY_INSTALL/preflight/gum.sh source $OMARCHY_INSTALL/preflight/guard.sh source $OMARCHY_INSTALL/preflight/aur.sh -# source $OMARCHY_INSTALL/preflight/tte.sh +source $OMARCHY_INSTALL/preflight/tte.sh source $OMARCHY_INSTALL/preflight/migrations.sh # Configuration diff --git a/install/preflight/tte.sh b/install/preflight/tte.sh index dd3de4b0..9f58f57e 100644 --- a/install/preflight/tte.sh +++ b/install/preflight/tte.sh @@ -1,3 +1,3 @@ #!/bin/bash -yay -S --noconfirm --needed python-terminaltexteffects +yay -S --noconfirm --needed python-poetry-core python-terminaltexteffects diff --git a/migrations/1755455095.sh b/migrations/1755455095.sh new file mode 100644 index 00000000..8ea51652 --- /dev/null +++ b/migrations/1755455095.sh @@ -0,0 +1,9 @@ +echo "Ensure TTE and dependencies are installed" + +if ! yay -Q python-poetry-core &>/dev/null; then + yay -S --noconfirm python-poetry-core +fi + +if ! yay -Q python-terminaltexteffects &>/dev/null; then + yay -S --noconfirm python-terminaltexteffects +fi