mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-10 23:07:55 -05:00
Merge pull request #600 from SainoNamkho/master
Fix gpu info being displayed across multiple lines error.
This commit is contained in:
@@ -1605,7 +1605,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=$(awk 'BEGIN {ORS = " &"} {$1="";print}' /proc/fb | sed -r s/'^\s+|\s*&$'//g)
|
||||
fi
|
||||
|
||||
case $gpu in
|
||||
|
||||
Reference in New Issue
Block a user