Commit c8cce9ac authored by SomaUlte's avatar SomaUlte Committed by GitHub

check for "Intel" in glxinfo grep

parent 0dff1213
......@@ -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/ \(*}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment