GPU: Disable caching on all systems but macOS. Fixes #509
This commit is contained in:
parent
461a5692ac
commit
8f0bb0fcd3
1 changed files with 1 additions and 2 deletions
3
neofetch
3
neofetch
|
@ -971,6 +971,7 @@ get_gpu() {
|
|||
gpu="$(system_profiler SPDisplaysDataType | awk -F': ' '/^\ *Chipset Model:/ {printf $2 ", "}')"
|
||||
gpu="${gpu//'/ $'}"
|
||||
gpu="${gpu%,*}"
|
||||
cache "gpu" "$gpu"
|
||||
;;
|
||||
|
||||
"iPhone OS")
|
||||
|
@ -1035,8 +1036,6 @@ get_gpu() {
|
|||
gpu="${gpu/NVIDIA}"
|
||||
gpu="${gpu/Intel}"
|
||||
fi
|
||||
|
||||
cache "gpu" "$gpu"
|
||||
}
|
||||
|
||||
get_memory() {
|
||||
|
|
Loading…
Reference in a new issue