diff --git a/src/detection/wm/wm_linux.c b/src/detection/wm/wm_linux.c index 42c205dce..60ff5a3b8 100644 --- a/src/detection/wm/wm_linux.c +++ b/src/detection/wm/wm_linux.c @@ -38,6 +38,7 @@ static const char* getHyprland(FFstrbuf* result) { ffStrbufSubstrAfterFirstC(result, '"'); ffStrbufSubstrBeforeFirstC(result, '"'); + ffStrbufTrimLeft(result, 'v'); FF_DEBUG("Extracted version from version.h: %s", result->chars); return NULL; }