diff --git a/motd.sh b/motd.sh index fcdd335..5fa178b 100755 --- a/motd.sh +++ b/motd.sh @@ -7,7 +7,7 @@ echo -e ### Hostname ### -echo -e "$(/usr/bin/env figlet -w $(tput cols) "$(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 $(echo $((0x$(hostname | md5sum | cut -c 1-10))) | cut -c 2-5))" echo -e @@ -26,7 +26,7 @@ green="\e[1;32m" red="\e[1;31m" undim="\e[0m" -services=("docker" "mariadb" "cronie") +services=($(cat /home/arisu/.motd.services)) # sort services IFS=$'\n' services=($(sort <<<"${services[*]}")) unset IFS