mirror of
https://github.com/hyprwm/hyprsysteminfo.git
synced 2024-11-24 18:25:58 +01:00
core: trim kernel info
This commit is contained in:
parent
e901bb17ce
commit
49f20fbcc5
1 changed files with 1 additions and 1 deletions
|
@ -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")) {
|
||||
|
|
Loading…
Reference in a new issue