parent
488ceb764b
commit
d14dc2d54f
1 changed files with 47 additions and 52 deletions
99
neofetch
99
neofetch
|
@ -1206,26 +1206,29 @@ get_model() {
|
|||
|
||||
"iPhone OS")
|
||||
case $kernel_machine in
|
||||
iPad1,1): "iPad" ;;
|
||||
iPad2,[1-4]): "iPad 2" ;;
|
||||
iPad3,[1-3]): "iPad 3" ;;
|
||||
iPad3,[4-6]): "iPad 4" ;;
|
||||
iPad6,1[12]): "iPad 5" ;;
|
||||
iPad7,[5-6]): "iPad 6" ;;
|
||||
iPad4,[1-3]): "iPad Air" ;;
|
||||
iPad5,[3-4]): "iPad Air 2" ;;
|
||||
iPad11,[3-4]): "iPad Air 3" ;;
|
||||
iPad6,[7-8]): "iPad Pro (12.9 Inch)" ;;
|
||||
iPad6,[3-4]): "iPad Pro (9.7 Inch)" ;;
|
||||
iPad7,[1-2]): "iPad Pro 2 (12.9 Inch)" ;;
|
||||
iPad7,[3-4]): "iPad Pro (10.5 Inch)" ;;
|
||||
iPad8,[1-4]): "iPad Pro (11 Inch)" ;;
|
||||
iPad8,[5-8]): "iPad Pro 3 (12.9 Inch)" ;;
|
||||
iPad2,[5-7]): "iPad mini" ;;
|
||||
iPad4,[4-6]): "iPad mini 2" ;;
|
||||
iPad4,[7-9]): "iPad mini 3" ;;
|
||||
iPad5,[1-2]): "iPad mini 4" ;;
|
||||
iPad11,[1-2]): "iPad mini 5" ;;
|
||||
iPad1,1): "iPad" ;;
|
||||
iPad2,[1-4]): "iPad 2" ;;
|
||||
iPad3,[1-3]): "iPad 3" ;;
|
||||
iPad3,[4-6]): "iPad 4" ;;
|
||||
iPad6,1[12]): "iPad 5" ;;
|
||||
iPad7,[5-6]): "iPad 6" ;;
|
||||
iPad7,1[12]): "iPad 7" ;;
|
||||
iPad4,[1-3]): "iPad Air" ;;
|
||||
iPad5,[3-4]): "iPad Air 2" ;;
|
||||
iPad11,[3-4]): "iPad Air 3" ;;
|
||||
iPad6,[7-8]): "iPad Pro (12.9 Inch)" ;;
|
||||
iPad6,[3-4]): "iPad Pro (9.7 Inch)" ;;
|
||||
iPad7,[1-2]): "iPad Pro 2 (12.9 Inch)" ;;
|
||||
iPad7,[3-4]): "iPad Pro (10.5 Inch)" ;;
|
||||
iPad8,[1-4]): "iPad Pro (11 Inch)" ;;
|
||||
iPad8,[5-8]): "iPad Pro 3 (12.9 Inch)" ;;
|
||||
iPad8,9 | iPad8,10): "iPad Pro 4 (11 Inch)" ;;
|
||||
iPad8,1[1-2]): "iPad Pro 4 (12.9 Inch)" ;;
|
||||
iPad2,[5-7]): "iPad mini" ;;
|
||||
iPad4,[4-6]): "iPad mini 2" ;;
|
||||
iPad4,[7-9]): "iPad mini 3" ;;
|
||||
iPad5,[1-2]): "iPad mini 4" ;;
|
||||
iPad11,[1-2]): "iPad mini 5" ;;
|
||||
|
||||
iPhone1,1): "iPhone" ;;
|
||||
iPhone1,2): "iPhone 3G" ;;
|
||||
|
@ -1248,6 +1251,10 @@ get_model() {
|
|||
iPhone11,2): "iPhone XS" ;;
|
||||
iPhone11,[46]): "iPhone XS Max" ;;
|
||||
iPhone11,8): "iPhone XR" ;;
|
||||
iPhone12,1): "iPhone 11" ;;
|
||||
iPhone12,3): "iPhone 11 Pro" ;;
|
||||
iPhone12,5): "iPhone 11 Pro Max" ;;
|
||||
iPhone12,8): "iPhone SE 2020" ;;
|
||||
|
||||
iPod1,1): "iPod touch" ;;
|
||||
ipod2,1): "iPod touch 2G" ;;
|
||||
|
@ -2110,12 +2117,12 @@ get_cpu() {
|
|||
"iPhone6,"[1-2]): "Apple A7 (2) @ 1.3GHz" ;;
|
||||
"iPhone7,"[1-2]): "Apple A8 (2) @ 1.4GHz" ;;
|
||||
"iPhone8,"[1-4] | "iPad6,1"[12]): "Apple A9 (2) @ 1.85GHz" ;;
|
||||
"iPhone9,"[1-4] | "iPad7,"[5-6]): "Apple A10 Fusion (4) @ 2.34GHz" ;;
|
||||
"iPhone10,"[1-6]): "Apple A11 Bionic (6) @ 2.39GHz" ;;
|
||||
|
||||
"iPhone11,"[2468] | "iPad11,"[1-4])
|
||||
: "Apple A12 Bionic (6) @ 2.49GHz"
|
||||
"iPhone9,"[1-4] | "iPad7,"[5-6] | "iPad7,1"[1-2]):
|
||||
"Apple A10 Fusion (4) @ 2.34GHz"
|
||||
;;
|
||||
"iPhone10,"[1-6]): "Apple A11 Bionic (6) @ 2.39GHz" ;;
|
||||
"iPhone11,"[2468] | "iPad11,"[1-4]): "Apple A12 Bionic (6) @ 2.49GHz" ;;
|
||||
"iPhone12,"[1358]): "Apple A13 Bionic (6) @ 2.65GHz" ;;
|
||||
|
||||
"iPod2,1"): "Samsung S5L8720 (1) @ 533MHz" ;;
|
||||
"iPod3,1"): "Samsung S5L8922 (1) @ 600MHz" ;;
|
||||
|
@ -2132,6 +2139,7 @@ get_cpu() {
|
|||
"iPad6,"[7-8]): "Apple A9X (2) @ 2.26GHz" ;;
|
||||
"iPad7,"[1-4]): "Apple A10X Fusion (6) @ 2.39GHz" ;;
|
||||
"iPad8,"[1-8]): "Apple A12X Bionic (8) @ 2.49GHz" ;;
|
||||
"iPad8,9" | "iPad8,1"[0-2]): "Apple A12Z Bionic (8) @ 2.49GHz" ;;
|
||||
esac
|
||||
cpu="$_"
|
||||
;;
|
||||
|
@ -2433,38 +2441,25 @@ get_gpu() {
|
|||
|
||||
"iPhone OS")
|
||||
case $kernel_machine in
|
||||
"iPhone1,"[1-2]): "PowerVR MBX Lite 3D" ;;
|
||||
"iPhone5,"[1-4]): "PowerVR SGX543MP3" ;;
|
||||
"iPhone11,"[2468]): "G11P" ;;
|
||||
"iPhone1,"[1-2]): "PowerVR MBX Lite 3D" ;;
|
||||
"iPhone2,1" | "iPhone3,"[1-3] | "iPod3,1" | "iPod4,1" | "iPad1,1"):
|
||||
"PowerVR SGX535"
|
||||
;;
|
||||
"iPhone4,1" | "iPad2,"[1-7] | "iPod5,1"): "PowerVR SGX543MP2" ;;
|
||||
"iPhone5,"[1-4]): "PowerVR SGX543MP3" ;;
|
||||
"iPhone6,"[1-2] | "iPad4,"[1-9]): "PowerVR G6430" ;;
|
||||
"iPhone7,"[1-2] | "iPod7,1" | "iPad5,"[1-2]): "PowerVR GX6450" ;;
|
||||
"iPhone8,"[1-4] | "iPad6,1"[12]): "PowerVR GT7600" ;;
|
||||
"iPhone9,"[1-4] | "iPad7,"[5-6]): "PowerVR GT7600 Plus" ;;
|
||||
"iPhone10,"[1-6]): "Apple Designed GPU (A11)" ;;
|
||||
"iPhone11,"[2468]): "Apple Designed GPU (A12)" ;;
|
||||
"iPhone12,"[1358]): "Apple Designed GPU (A13)" ;;
|
||||
|
||||
"iPad3,"[1-3]): "PowerVR SGX534MP4" ;;
|
||||
"iPad3,"[4-6]): "PowerVR SGX554MP4" ;;
|
||||
"iPad5,"[3-4]): "PowerVR GXA6850" ;;
|
||||
"iPad6,"[3-8]): "PowerVR 7XT" ;;
|
||||
|
||||
"iPhone2,1" | "iPhone3,"[1-3] | "iPod3,1" | "iPod4,1" | "iPad1,1")
|
||||
: "PowerVR SGX535"
|
||||
;;
|
||||
|
||||
"iPhone4,1" | "iPad2,"[1-7] | "iPod5,1")
|
||||
: "PowerVR SGX543MP2"
|
||||
;;
|
||||
|
||||
"iPhone6,"[1-2] | "iPad4,"[1-9])
|
||||
: "PowerVR G6430"
|
||||
;;
|
||||
|
||||
"iPhone7,"[1-2] | "iPod7,1" | "iPad5,"[1-2])
|
||||
: "PowerVR GX6450"
|
||||
;;
|
||||
|
||||
"iPhone8,"[1-4] | "iPad6,1"[12])
|
||||
: "PowerVR GT7600"
|
||||
;;
|
||||
|
||||
"iPhone9,"[1-4] | "iPad7,"[5-6])
|
||||
: "PowerVR GT7600 Plus"
|
||||
;;
|
||||
|
||||
"iPod1,1" | "iPod2,1")
|
||||
: "PowerVR MBX Lite"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue