Update dotfiles/.local/motd.sh
This commit is contained in:
parent
146e47827c
commit
37026503f0
1 changed files with 2 additions and 1 deletions
|
@ -203,12 +203,13 @@ generate_bar_disk() {
|
|||
}
|
||||
|
||||
print_banner() {
|
||||
printf "Heyoo"
|
||||
if command -v lolcat >/dev/null && command -v figlet >/dev/null; then
|
||||
if [ -f "$HOME/.local/labs/term-welcome-anim" ]; then
|
||||
figlet "$(hostname)" | lolcat -f
|
||||
printf "\\n"
|
||||
else
|
||||
figlet "Manhattan" | lolcat -a -f
|
||||
printf "\\n"
|
||||
mkdir -p "$HOME/.local/labs"
|
||||
touch "$HOME/.local/labs/term-welcome-anim"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue