Merge pull request #627 from SomaUlte/patch-1
GPU: [Linux] More detailed Intel GPU info. Closes #626
This commit is contained in:
commit
dd62ec697f
1 changed files with 6 additions and 1 deletions
7
neofetch
7
neofetch
|
@ -1075,7 +1075,12 @@ get_gpu() {
|
|||
;;
|
||||
|
||||
*"intel"*)
|
||||
gpu="Intel Integrated Graphics"
|
||||
gpu="$(glxinfo | grep "Device:.*Intel")"
|
||||
gpu="${gpu/*Intel/Intel}"
|
||||
gpu="${gpu/'(R)'}"
|
||||
gpu="${gpu/ \(*}"
|
||||
|
||||
[[ -z "$(trim "$gpu")" ]] && gpu="Intel Integrated Graphics"
|
||||
;;
|
||||
|
||||
*"virtualbox"*)
|
||||
|
|
Loading…
Reference in a new issue