WM (Linux): fixes version reporting for niri WM (#2218)
Signed-off-by: butteronarchbtw <[email protected]>
This commit is contained in:
1 parent
f781f8d9ea
commit
22fa9b51e8
1 file changed
+3
-2
@@ -169,9 +169,10 @@ static const char* getNiri(FFstrbuf* result)
|
||||
"--version",
|
||||
NULL
|
||||
}) == NULL)
|
||||
{ // niri 25.11 (b35bcae)
|
||||
{ // niri 25.11 (commit b35bcae)
|
||||
ffStrbufSubstrAfterFirstC(result, ' ');
|
||||
ffStrbufSubstrBeforeLastC(result, ' ');
|
||||
ffStrbufSubstrBeforeLastC(result, '(');
|
||||
ffStrbufTrimRightSpace(result);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user