diff --git a/neofetch b/neofetch index 613414c6..69ec905a 100755 --- a/neofetch +++ b/neofetch @@ -118,6 +118,9 @@ getdistro() { [ "$osx_buildversion" == "off" ] && \ distro="${distro/ ${osx_build}}" + + [ "${ascii_distro:-auto}" == "auto" ] && \ + ascii_distro="$(trim "$distro")" } # }}} @@ -3018,8 +3021,6 @@ main() { # Distro detection getdistro - [ "${ascii_distro:-auto}" == "auto" ] && \ - ascii_distro="$(trim "$distro")" # Get colors and bold bold