diff --git a/neofetch b/neofetch index 81a2924a..4ef7c0c6 100755 --- a/neofetch +++ b/neofetch @@ -1556,7 +1556,7 @@ get_title() { case $title_fqdn in on) hostname=$(hostname -f) ;; - *) hostname=${HOSTNAME:-$(hostname)} ;; + *) hostname=$(hostname | cut -d. -f1);; esac title=${title_color}${bold}${user}${at_color}@${title_color}${bold}${hostname}