Update dotfiles/.local/motd.sh
This commit is contained in:
parent
5be62a57cc
commit
60e15c062c
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
if [ -f "$HOME/.local/term-welcome-anim" ]; then
|
||||||
/usr/bin/env figlet "$(hostname)" | /usr/bin/env lolcat -f
|
/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
|
||||||
|
|
Loading…
Reference in a new issue