Merge branch 'master' of github.com:dylanaraps/neofetch
This commit is contained in:
commit
546c13c100
2 changed files with 16 additions and 1 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -0,0 +1,10 @@
|
||||||
|
## Contributors
|
||||||
|
|
||||||
|
- **[@SomaUlte](https://github.com/SomaUlte)**
|
||||||
|
|
||||||
|
|
||||||
|
## Info
|
||||||
|
|
||||||
|
**GPU**<br \>
|
||||||
|
|
||||||
|
- [Linux] Display detailed information about Intel GPUs. **[@SomaUlte](https://github.com/SomaUlte)**
|
7
neofetch
7
neofetch
|
@ -1075,7 +1075,12 @@ get_gpu() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*"intel"*)
|
*"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"*)
|
*"virtualbox"*)
|
||||||
|
|
Loading…
Reference in a new issue