mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 04:22:32 +00:00
GPU: Quote case
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user