mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 00:03:58 +01:00
WM (Linux): fixes version reporting for niri WM (#2218)
Signed-off-by: butteronarchbtw <152636161+butteronarchbtw@users.noreply.github.com>
This commit is contained in:
@@ -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