gpu: Remove glxinfo usage. Too slow.

This commit is contained in:
Dylan Araps 2018-05-29 09:08:32 +10:00
parent ec29e74406
commit 15cd3b3e07

View file

@ -2078,9 +2078,6 @@ get_gpu() {
;;
*"intel"*)
type -p glxinfo >/dev/null && \
gpu="$(glxinfo | grep "Device:.*Intel")"
gpu="${gpu/*Intel/Intel}"
gpu="${gpu/'(R)'}"
gpu="${gpu/'Corporation'}"