Working on gpu info

This commit is contained in:
TheDarkBug 2021-03-14 19:19:30 +01:00
parent 9933280db5
commit f045e8ec00
2 changed files with 8 additions and 0 deletions

View file

@ -195,6 +195,13 @@ void get_info() { // get all necessary info
break;
}
}
// gpu
FILE *gpu = popen("lspci", "r");
if (gpu) {
fclose(gpu);
}
pkgs = pkgman();
}