mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-02 13:11:55 -07:00
logging: get broader GPUINFO (#8753)
This commit is contained in:
@@ -608,7 +608,7 @@ void logSystemInfo() {
|
||||
}
|
||||
} catch (...) { GPUINFO = "error"; }
|
||||
#else
|
||||
const std::string GPUINFO = execAndGet("lspci -vnn | grep VGA");
|
||||
const std::string GPUINFO = execAndGet("lspci -vnn | grep -E (VGA|Display|3D)");
|
||||
#endif
|
||||
Debug::log(LOG, "GPU information:\n{}\n", GPUINFO);
|
||||
|
||||
|
Reference in New Issue
Block a user