diff --git a/presets/neofetch.jsonc b/presets/neofetch.jsonc index 6c6eb0c30..c55d56249 100644 --- a/presets/neofetch.jsonc +++ b/presets/neofetch.jsonc @@ -38,8 +38,14 @@ "compactType": "original", "key": "Resolution" }, - "de", - "wm", + { + "type": "de", + "key": "DE" + }, + { + "type": "wm", + "key": "WM" + }, "wmtheme", "theme", "icons", @@ -48,7 +54,10 @@ "type": "terminalfont", "format": "{/name}{-}{/}{name}{?size} {size}{?}" }, - "cpu", + { + "type": "cpu", + "showPeCoreCount": false + }, { "type": "gpu", "key": "GPU", diff --git a/src/flashfetch.c b/src/flashfetch.c index d75dcb512..f78926737 100644 --- a/src/flashfetch.c +++ b/src/flashfetch.c @@ -68,11 +68,13 @@ int main(void) { } { MODULE_OPTION(DE) + ffStrbufSetStatic(&options.moduleArgs.key, "DE"); ffPrintDE(&options); } { instance.config.general.detectVersion = false; MODULE_OPTION(WM) + ffStrbufSetStatic(&options.moduleArgs.key, "WM"); options.detectPlugin = true; ffPrintWM(&options); instance.config.general.detectVersion = true; @@ -100,6 +102,7 @@ int main(void) { } { MODULE_OPTION(CPU) + options.showPeCoreCount = false; ffPrintCPU(&options); } {