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

This commit is contained in:
Dylan Araps
2017-01-23 23:59:38 +11:00
2 changed files with 16 additions and 1 deletions

View File

@@ -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"*)