mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
WM (Linux): fix niri version detection logic
This commit is contained in:
@@ -170,8 +170,8 @@ static const char* getNiri(FFstrbuf* result)
|
||||
NULL
|
||||
}) == NULL)
|
||||
{ // niri 25.11 (b35bcae)
|
||||
ffStrbufSubstrBeforeLastC(result, ' ');
|
||||
ffStrbufSubstrAfterFirstC(result, ' ');
|
||||
ffStrbufSubstrBeforeLastC(result, ' ');
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user