From 93639996bb62e336cd406da7d9bdeee9824d62bd Mon Sep 17 00:00:00 2001 From: BomberFish <87151697+BomberFish@users.noreply.github.com> Date: Wed, 15 Mar 2023 14:44:59 -0400 Subject: [PATCH] oops --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]" ;;