GPU: Quote case
This commit is contained in:
parent
5890e965b5
commit
5466c66053
1 changed files with 4 additions and 4 deletions
8
neofetch
8
neofetch
|
@ -939,9 +939,9 @@ get_gpu() {
|
|||
fi
|
||||
|
||||
case "$gpu" in
|
||||
intel*) gpu="Intel Integrated Graphics" ;;
|
||||
"intel"*) gpu="Intel Integrated Graphics" ;;
|
||||
|
||||
advanced*)
|
||||
"advanced"*)
|
||||
gpu="${gpu/'[AMD/ATI]' }"
|
||||
gpu="${gpu/'[AMD]' }"
|
||||
gpu="${gpu/*\[}"
|
||||
|
@ -949,13 +949,13 @@ get_gpu() {
|
|||
gpu="AMD $gpu"
|
||||
;;
|
||||
|
||||
nvidia*)
|
||||
"nvidia"*)
|
||||
gpu="${gpu/*\[}"
|
||||
gpu="${gpu/\]*}"
|
||||
gpu="NVIDIA $gpu"
|
||||
;;
|
||||
|
||||
*virtualbox*)
|
||||
*"virtualbox"*)
|
||||
gpu="VirtualBox Graphics Adapter"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue