core: trim kernel info

This commit is contained in:
Vaxry 2024-10-13 22:51:06 +01:00
parent e901bb17ce
commit 49f20fbcc5

View file

@ -59,7 +59,7 @@ static void getSystemInfo(CSystemInternals* hsi, QGuiApplication* app) {
} }
// get kernel ver // get kernel ver
hsi->systemKernel = execAndGet("uname -r").c_str(); hsi->systemKernel = trim(execAndGet("uname -r")).c_str();
// get hyprland info // get hyprland info
if (getenv("HYPRLAND_INSTANCE_SIGNATURE")) { if (getenv("HYPRLAND_INSTANCE_SIGNATURE")) {