mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 04:22:32 +00:00
GPU: Add brand
This commit is contained in:
4
neofetch
4
neofetch
@@ -997,11 +997,13 @@ getgpu() {
|
||||
gpu="${gpu/'[AMD]' }"
|
||||
gpu="${gpu/*\[}"
|
||||
gpu="${gpu/\]*}"
|
||||
gpu="AMD $gpu"
|
||||
;;
|
||||
|
||||
nvidia*)
|
||||
gpu="${gpu/*\[}"
|
||||
gpu="${gpu/\]*}"
|
||||
gpu="NVIDIA $gpu"
|
||||
;;
|
||||
|
||||
*virtualbox*)
|
||||
@@ -1119,8 +1121,6 @@ getgpu() {
|
||||
gpu="${gpu/NVIDIA}"
|
||||
gpu="${gpu/Intel}"
|
||||
fi
|
||||
|
||||
gpu="${gpu}${count}"
|
||||
}
|
||||
|
||||
# }}}
|
||||
|
||||
Reference in New Issue
Block a user