mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-10 06:48:00 -05:00
fix gpu bug
Fix gpu detect on some noGPU machine bug
This commit is contained in:
@@ -1602,7 +1602,7 @@ detectgpu () {
|
||||
# Run it only on Intel Processors if GPU is unknown
|
||||
DetectIntelGPU() {
|
||||
if [ -r /proc/fb ]; then
|
||||
gpu=$(awk '{print $2}' /proc/fb)
|
||||
gpu=$(lspci | grep -i vga | awk -F ": " '{print $2}')
|
||||
fi
|
||||
|
||||
case $gpu in
|
||||
|
||||
Reference in New Issue
Block a user