mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 19:49:54 +00:00
Update neofetch
This commit is contained in:
4
neofetch
4
neofetch
@@ -1075,7 +1075,11 @@ get_gpu() {
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
*"intel"*)
|
*"intel"*)
|
||||||
|
if [[ $(glxinfo | grep 'OpenGL renderer string: Mesa' | sed 's/ renderer.*//') = "OpenGL" ]]; then
|
||||||
|
gpu="$(DRI_PRIME=1 glxinfo | grep 'OpenGL renderer' | sed '0,/^.*Intel/ s//Intel/' | sed 's/(R)//' | sed 's/\(\.* (\).*//')"
|
||||||
|
else
|
||||||
gpu="Intel Integrated Graphics"
|
gpu="Intel Integrated Graphics"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*"virtualbox"*)
|
*"virtualbox"*)
|
||||||
|
|||||||
Reference in New Issue
Block a user