mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-27 23:30:47 +01:00
+12
-3
@@ -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",
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user