diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29b..1d22d4e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +## Contributors + +- **[@SomaUlte](https://github.com/SomaUlte)** + + +## Info + +**GPU**
+ +- [Linux] Display detailed information about Intel GPUs. **[@SomaUlte](https://github.com/SomaUlte)** diff --git a/neofetch b/neofetch index 68217701..1f764b9b 100755 --- a/neofetch +++ b/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"*)