From 49f20fbcc53c87bdce5cd56dca7b5e33ba728950 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 13 Oct 2024 22:51:06 +0100 Subject: [PATCH] core: trim kernel info --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 1531e5e..b417e2e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -59,7 +59,7 @@ static void getSystemInfo(CSystemInternals* hsi, QGuiApplication* app) { } // get kernel ver - hsi->systemKernel = execAndGet("uname -r").c_str(); + hsi->systemKernel = trim(execAndGet("uname -r")).c_str(); // get hyprland info if (getenv("HYPRLAND_INSTANCE_SIGNATURE")) {