GPU: Add brand
This commit is contained in:
parent
0177837f69
commit
b2d17711f9
4
neofetch
4
neofetch
|
@ -997,11 +997,13 @@ getgpu() {
|
||||||
gpu="${gpu/'[AMD]' }"
|
gpu="${gpu/'[AMD]' }"
|
||||||
gpu="${gpu/*\[}"
|
gpu="${gpu/*\[}"
|
||||||
gpu="${gpu/\]*}"
|
gpu="${gpu/\]*}"
|
||||||
|
gpu="AMD $gpu"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
nvidia*)
|
nvidia*)
|
||||||
gpu="${gpu/*\[}"
|
gpu="${gpu/*\[}"
|
||||||
gpu="${gpu/\]*}"
|
gpu="${gpu/\]*}"
|
||||||
|
gpu="NVIDIA $gpu"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*virtualbox*)
|
*virtualbox*)
|
||||||
|
@ -1119,8 +1121,6 @@ getgpu() {
|
||||||
gpu="${gpu/NVIDIA}"
|
gpu="${gpu/NVIDIA}"
|
||||||
gpu="${gpu/Intel}"
|
gpu="${gpu/Intel}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gpu="${gpu}${count}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Reference in New Issue