gpu: Remove glxinfo usage. Too slow.
This commit is contained in:
@@ -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'}"
|
||||||
|
|||||||
Reference in New Issue
Block a user