From 6d3df204bc6aac677273e012d2b0d7b2e8b0dda8 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 25 Jul 2025 15:05:41 -0400 Subject: [PATCH] Use terminal text effects for extra rizz --- bin/omarchy | 3 ++- install/2-identification.sh | 5 +++-- ansi.sh => logo.txt | 9 ++------- migrations/1753468218.sh | 4 ++++ 4 files changed, 11 insertions(+), 10 deletions(-) rename ansi.sh => logo.txt (82%) create mode 100644 migrations/1753468218.sh diff --git a/bin/omarchy b/bin/omarchy index 813621b..3de2c62 100755 --- a/bin/omarchy +++ b/bin/omarchy @@ -4,7 +4,8 @@ OMARCHY_VERSION=$(git -C ~/.local/share/omarchy describe --tags --abbrev=0 2>/de PATH="$PATH:$HOME/.local/share/omarchy/bin" show_ascii_art() { - source ~/.local/share/omarchy/ansi.sh + clear + tte -i ~/.local/share/omarchy/logo.txt --frame-rate 640 expand echo " $OMARCHY_VERSION" } diff --git a/install/2-identification.sh b/install/2-identification.sh index f31b1e8..38fa1da 100644 --- a/install/2-identification.sh +++ b/install/2-identification.sh @@ -1,10 +1,11 @@ #!/bin/bash # Need gum to query for input -yay -S --noconfirm --needed gum +yay -S --noconfirm --needed gum python-terminaltexteffects # Configure identification -source ~/.local/share/omarchy/ansi.sh +clear +tte -i ~/.local/share/omarchy/logo.txt --frame-rate 120 expand echo -e "\nEnter identification for git and autocomplete..." export OMARCHY_USER_NAME=$(gum input --placeholder "Enter full name" --prompt "Name> ") export OMARCHY_USER_EMAIL=$(gum input --placeholder "Enter email address" --prompt "Email> ") diff --git a/ansi.sh b/logo.txt similarity index 82% rename from ansi.sh rename to logo.txt index 4ce2952..e0d0525 100644 --- a/ansi.sh +++ b/logo.txt @@ -1,6 +1,4 @@ -#!/bin/bash - -ansi_art=' ▄██████▄ ▄▄▄▄███▄▄▄▄ ▄████████ ▄████████ ▄████████ ▄█ █▄ ▄██ ▄ + ▄██████▄ ▄▄▄▄███▄▄▄▄ ▄████████ ▄████████ ▄████████ ▄█ █▄ ▄██ ▄ ███ ███ ▄██▀▀▀███▀▀▀██▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ ██▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ █▀ ███ ███ ███▄▄▄███ ███ ███ ███ ███ ███ ███ ███ ▄███▄▄▄▄██▀ ███ ▄███▄▄▄▄███▄▄ ▀▀▀▀▀▀███ @@ -8,7 +6,4 @@ ansi_art=' ▄██████▄ ▄▄▄▄███▄▄▄▄ ███ ███ ███ ███ ███ ███ ███ ▀███████████ ███ █▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ▀██████▀ ▀█ ███ █▀ ███ █▀ ███ ███ ████████▀ ███ █▀ ▀█████▀ - ███ ███ ' - -clear -echo -e "\n$ansi_art\n" + ███ ███ diff --git a/migrations/1753468218.sh b/migrations/1753468218.sh new file mode 100644 index 0000000..b9f22e9 --- /dev/null +++ b/migrations/1753468218.sh @@ -0,0 +1,4 @@ +echo "Add Terminal Text Effects for rizzing Omarchy" +if yay -Qe python-terminaltexteffects &>/dev/null; then + yay -S --noconfirm --needed python-terminaltexteffects +fi