From 0bb0133513f23f0c9ea39e4dbddcb7fbebf89e00 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Tue, 21 May 2019 04:13:32 +0200 Subject: [PATCH] motd.sh: Set figlet width to terminal width --- motd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motd.sh b/motd.sh index 5aa1a6c..fcdd335 100755 --- a/motd.sh +++ b/motd.sh @@ -7,7 +7,7 @@ echo -e ### Hostname ### -echo -e "$(/usr/bin/env figlet "$(hostname)" | /usr/bin/env lolcat -f -F 0.05 -S 50)" +echo -e "$(/usr/bin/env figlet -w $(tput cols) "$(hostname)" | /usr/bin/env lolcat -f -F 0.05 -S 50)" echo -e