Update dotfiles/.local/motd.sh

This commit is contained in:
Brian Zalewski 2022-10-31 02:04:37 +00:00
parent 5be62a57cc
commit 60e15c062c

View file

@ -204,7 +204,11 @@ generate_bar_disk() {
print_banner() { print_banner() {
if command -v lolcat > /dev/null && command -v figlet > /dev/null; then if command -v lolcat > /dev/null && command -v figlet > /dev/null; then
/usr/bin/env figlet "$(hostname)" | /usr/bin/env lolcat -f if [ -f "$HOME/.local/term-welcome-anim" ]; then
/usr/bin/env figlet "$(hostname)" | /usr/bin/env lolcat -f
else
/usr/bin/env figlet "Manhattan" | /usr/bin/env lolcat -a -f
fi
elif command -v figlet > /dev/null; then elif command -v figlet > /dev/null; then
printf "\\n%s\\n" "$(figlet -t -f "$BANNER_FONTPATH" " $BANNER_TEXT")" printf "\\n%s\\n" "$(figlet -t -f "$BANNER_FONTPATH" " $BANNER_TEXT")"
else else