Update dotfiles/.local/motd.sh

This commit is contained in:
Brian Zalewski 2022-10-31 02:53:45 +00:00
parent 146e47827c
commit 37026503f0

View file

@ -203,12 +203,13 @@ generate_bar_disk() {
} }
print_banner() { print_banner() {
printf "Heyoo"
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/labs/term-welcome-anim" ]; then if [ -f "$HOME/.local/labs/term-welcome-anim" ]; then
figlet "$(hostname)" | lolcat -f figlet "$(hostname)" | lolcat -f
printf "\\n"
else else
figlet "Manhattan" | lolcat -a -f figlet "Manhattan" | lolcat -a -f
printf "\\n"
mkdir -p "$HOME/.local/labs" mkdir -p "$HOME/.local/labs"
touch "$HOME/.local/labs/term-welcome-anim" touch "$HOME/.local/labs/term-welcome-anim"
fi fi