add system info logging

This commit is contained in:
vaxerski
2022-06-25 20:49:06 +02:00
parent 648b2c892c
commit 8de8f6667e
3 changed files with 40 additions and 0 deletions

View File

@@ -7,6 +7,12 @@ CCompositor::CCompositor() {
Debug::log(LOG, "Instance Signature: %s", m_szInstanceSignature.c_str());
Debug::log(LOG, "===== SYSTEM INFO: =====");
logSystemInfo();
Debug::log(LOG, "========================");
setenv("HYPRLAND_INSTANCE_SIGNATURE", m_szInstanceSignature.c_str(), true);
const auto INSTANCEPATH = "/tmp/hypr/" + m_szInstanceSignature;