check for "Intel" in glxinfo grep
This commit is contained in:
parent
0dff121390
commit
c8cce9acb5
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -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/ \(*}"
|
||||
|
|
Loading…
Reference in a new issue