check for "Intel" in glxinfo grep

This commit is contained in:
SomaUlte 2017-01-23 04:37:03 -05:00 committed by GitHub
parent 0dff121390
commit c8cce9acb5

View file

@ -1075,7 +1075,7 @@ get_gpu() {
;;
*"intel"*)
gpu="$(glxinfo | grep -F "Device:")"
gpu="$(glxinfo | grep "Device:.*Intel")"
gpu="${gpu/*Intel/Intel}"
gpu="${gpu/'(R)'}"
gpu="${gpu/ \(*}"