summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.cpp
diff options
context:
space:
mode:
authorIkalco <73481042+ikalco@users.noreply.github.com>2024-12-18 08:56:53 -0600
committerGitHub <noreply@github.com>2024-12-18 15:56:53 +0100
commit49e5f9c42867e33d816d316507d7bc7a45ae0477 (patch)
tree9ce047a336aaec503ae17506c74c005002435d3a /src/debug/HyprCtl.cpp
parent5f1df55fcb45a72e92258113685aa9064f6ebf3e (diff)
logging: get broader GPUINFO (#8753)
Diffstat (limited to 'src/debug/HyprCtl.cpp')
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index 5ce3933c..d315990f 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -976,7 +976,7 @@ std::string systemInfoRequest(eHyprCtlOutputFormat format, std::string request)
}
} 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
result += "GPU information: \n" + GPUINFO;
if (GPUINFO.contains("NVIDIA") && std::filesystem::exists("/proc/driver/nvidia/version")) {