diff --git a/src/fastfetch.c b/src/fastfetch.c index cfe2d6185..d8da34041 100644 --- a/src/fastfetch.c +++ b/src/fastfetch.c @@ -284,12 +284,6 @@ static void listConfigPaths(void) uint32_t length = folder->length + (uint32_t) strlen("fastfetch") + 1 /* trailing slash */; ffStrbufAppendS(folder, "fastfetch/config.jsonc"); exists = ffPathExists(folder->chars, FF_PATHTYPE_FILE); - if (!exists) - { - ffStrbufSubstrBefore(folder, folder->length - (uint32_t) strlen("jsonc")); - ffStrbufAppendS(folder, "conf"); - exists = ffPathExists(folder->chars, FF_PATHTYPE_FILE); - } ffStrbufSubstrBefore(folder, length); printf("%s%s\n", folder->chars, exists ? " (*)" : ""); }