diff --git a/neofetch b/neofetch index 397ca454..a33fc6d4 100755 --- a/neofetch +++ b/neofetch @@ -1114,7 +1114,7 @@ get_distro() { elif [[ $(< /proc/version) == *chrome-bot* || -f /dev/cros_ec ]]; then # gets chrome os version from /etc/lsb-release. # totally not written by chatgpt :trolley: - cros_version=$(grep -oE 'CHROMEOS_RELEASE_BRANCH_NUMBER=([0-9]+)' /etc/lsb-release | cut -d= -f2) + cros_version=$(grep -oE 'CHROMEOS_RELEASE_CHROME_MILESTONE=([0-9]+)' /etc/lsb-release | cut -d= -f2) [[ $distro != *Chrome* ]] && case $distro_shorthand in on) distro+=" [Chrome OS $cros_version]" ;;