Commit 546c13c1 authored by Dylan Araps's avatar Dylan Araps

Merge branch 'master' of github.com:dylanaraps/neofetch

parents e4ffa945 ef6b55e3
## Contributors
- **[@SomaUlte](https://github.com/SomaUlte)**
## Info
**GPU**<br \>
- [Linux] Display detailed information about Intel GPUs. **[@SomaUlte](https://github.com/SomaUlte)**
......@@ -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"*)
......
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