Merge branch 'dylanaraps:master' into master
This commit is contained in:
commit
4e479dcdbb
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -2491,7 +2491,7 @@ get_gpu() {
|
|||
gpu_cmd="$(lspci -mm |
|
||||
awk -F '\"|\" \"|\\(' \
|
||||
'/"Display|"3D|"VGA/ {
|
||||
a[$0] = $1 " " $3 " " ($7 ~ /^$|^Device [[:xdigit:]]+$/ ? $4 : $7)
|
||||
a[$0] = $1 " " $3 " " ($(NF-1) ~ /^$|^Device [[:xdigit:]]+$/ ? $4 : $(NF-1))
|
||||
}
|
||||
END { for (i in a) {
|
||||
if (!seen[a[i]]++) {
|
||||
|
|
Loading…
Reference in a new issue