gpu: Remove glxinfo usage. Too slow.
This commit is contained in:
parent
ec29e74406
commit
15cd3b3e07
1 changed files with 0 additions and 3 deletions
3
neofetch
3
neofetch
|
@ -2078,9 +2078,6 @@ get_gpu() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*"intel"*)
|
*"intel"*)
|
||||||
type -p glxinfo >/dev/null && \
|
|
||||||
gpu="$(glxinfo | grep "Device:.*Intel")"
|
|
||||||
|
|
||||||
gpu="${gpu/*Intel/Intel}"
|
gpu="${gpu/*Intel/Intel}"
|
||||||
gpu="${gpu/'(R)'}"
|
gpu="${gpu/'(R)'}"
|
||||||
gpu="${gpu/'Corporation'}"
|
gpu="${gpu/'Corporation'}"
|
||||||
|
|
Loading…
Reference in a new issue