diff --git a/screenfetch-dev b/screenfetch-dev index 9b959c4..4fe842a 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -2718,8 +2718,9 @@ infoDisplay () { else mydistro=$(echo -e "$labelcolor OS:$textcolor $sysArch $distro $prodVers $buildVers"); fi elif [[ "$distro" == "Cygwin" ]]; then distro=$(wmic os get name | head -2 | tail -1) - distro=$(expr match "$os" '\(Microsoft Windows [A-Za-z0-9]\+\)') - sysArch=arch=$(wmic os get OSArchitecture | head -2 | tail -1 | tr -d '\r ') + distro=$(expr match "$distro" '\(Microsoft Windows [A-Za-z0-9]\+\)') + sysArch=$(wmic os get OSArchitecture | head -2 | tail -1 | tr -d '\r ') + mydistro=$(echo -e "$labelcolor OS:$textcolor $distro $sysArch") else if [ -n "$distro_more" ]; then mydistro=$(echo -e "$labelcolor OS:$textcolor $distro_more") else mydistro=$(echo -e "$labelcolor OS:$textcolor $distro $sysArch"); fi