mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-15 08:05:57 +01:00
clang format
This commit is contained in:
parent
4689d9b107
commit
22696110b1
2 changed files with 4 additions and 4 deletions
|
@ -932,9 +932,9 @@ std::string systemInfoRequest(eHyprCtlOutputFormat format, std::string request)
|
|||
close(fd);
|
||||
throw std::runtime_error("Failed to get DRM version");
|
||||
}
|
||||
const std::string name = version->name ? version->name : "Unknown";
|
||||
const std::string name = version->name ? version->name : "Unknown";
|
||||
const std::string description = version->desc ? version->desc : "Unknown";
|
||||
std::string GPUINFO = "GPU information:\n";
|
||||
std::string GPUINFO = "GPU information:\n";
|
||||
GPUINFO += "GPU Type: " + name + "\n";
|
||||
GPUINFO += "Driver Description: " + description + "\n";
|
||||
|
||||
|
|
|
@ -620,9 +620,9 @@ void logSystemInfo() {
|
|||
close(fd);
|
||||
throw std::runtime_error("Failed to get DRM version");
|
||||
}
|
||||
const std::string name = version->name ? version->name : "Unknown";
|
||||
const std::string name = version->name ? version->name : "Unknown";
|
||||
const std::string description = version->desc ? version->desc : "Unknown";
|
||||
std::string GPUINFO;
|
||||
std::string GPUINFO;
|
||||
GPUINFO += "GPU Type: " + name + "\n";
|
||||
GPUINFO += "Driver Description: " + description + "\n";
|
||||
|
||||
|
|
Loading…
Reference in a new issue