Skip to content

Commit 09d683b

Browse files
committed
WM (Linux): remove v from Hyprland version
1 parent cdda65e commit 09d683b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/detection/wm/wm_linux.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ static const char* getHyprland(FFstrbuf* result)
3838
{
3939
ffStrbufSubstrAfterFirstC(result, '"');
4040
ffStrbufSubstrBeforeFirstC(result, '"');
41+
ffStrbufTrimLeft(result, 'v');
4142
FF_DEBUG("Extracted version from version.h: %s", result->chars);
4243
return NULL;
4344
}

0 commit comments

Comments
 (0)