From 0afb9ae4b0018601c5ad5315c1924aeaa14d6ede Mon Sep 17 00:00:00 2001 From: rzen Date: Sun, 1 Aug 2021 00:14:49 -0400 Subject: [PATCH] add \n to start of joke for smaller font but not for the bigger --- dash.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dash.sh b/dash.sh index cbcbef6..6cb781e 100755 --- a/dash.sh +++ b/dash.sh @@ -8,10 +8,11 @@ time_font=`echo "roman poison colossal" | sed 's/ /\n/g' | sort -R | head -1` if [ $joke_len -gt 40 ]; then joke_font=thick + joke="\n$joke" fi #echo "$date_font $time_font $joke_font" date "+%a %b %e" | figlet -Wnctf "./fonts/$date_font" date "+%l:%M %p" | figlet -Wnctf "./fonts/$time_font" -echo -e "\n$joke" | figlet -nctf "./fonts/$joke_font" +echo -e "$joke" | figlet -nctf "./fonts/$joke_font"