add MacOS 14 Sonoma, make formating pretty
This commit is contained in:
parent
df11c756dd
commit
82c949e5a1
1 changed files with 17 additions and 16 deletions
33
neofetch
33
neofetch
|
@ -1345,23 +1345,24 @@ get_distro() {
|
|||
|
||||
"Mac OS X"|"macOS")
|
||||
case $osx_version in
|
||||
10.4*) codename="Mac OS X Tiger" ;;
|
||||
10.5*) codename="Mac OS X Leopard" ;;
|
||||
10.4*) codename="Mac OS X Tiger" ;;
|
||||
10.5*) codename="Mac OS X Leopard" ;;
|
||||
10.6*) codename="Mac OS X Snow Leopard" ;;
|
||||
10.7*) codename="Mac OS X Lion" ;;
|
||||
10.8*) codename="OS X Mountain Lion" ;;
|
||||
10.9*) codename="OS X Mavericks" ;;
|
||||
10.10*) codename="OS X Yosemite" ;;
|
||||
10.11*) codename="OS X El Capitan" ;;
|
||||
10.12*) codename="macOS Sierra" ;;
|
||||
10.13*) codename="macOS High Sierra" ;;
|
||||
10.14*) codename="macOS Mojave" ;;
|
||||
10.15*) codename="macOS Catalina" ;;
|
||||
10.16*) codename="macOS Big Sur" ;;
|
||||
11.*) codename="macOS Big Sur" ;;
|
||||
12.*) codename="macOS Monterey" ;;
|
||||
13.*) codename="macOS Ventura" ;;
|
||||
*) codename=macOS ;;
|
||||
10.7*) codename="Mac OS X Lion" ;;
|
||||
10.8*) codename="OS X Mountain Lion" ;;
|
||||
10.9*) codename="OS X Mavericks" ;;
|
||||
10.10*) codename="OS X Yosemite" ;;
|
||||
10.11*) codename="OS X El Capitan" ;;
|
||||
10.12*) codename="macOS Sierra" ;;
|
||||
10.13*) codename="macOS High Sierra" ;;
|
||||
10.14*) codename="macOS Mojave" ;;
|
||||
10.15*) codename="macOS Catalina" ;;
|
||||
10.16*) codename="macOS Big Sur" ;;
|
||||
11.*) codename="macOS Big Sur" ;;
|
||||
12.*) codename="macOS Monterey" ;;
|
||||
13.*) codename="macOS Ventura" ;;
|
||||
14.*) codename="macOS Sonoma" ;;
|
||||
*) codename="macOS" ;;
|
||||
esac
|
||||
|
||||
distro="$codename $osx_version ($osx_build)"
|
||||
|
|
Loading…
Reference in a new issue