diff --git a/doc/json_schema.json b/doc/json_schema.json index 558d442eb..87257ab27 100644 --- a/doc/json_schema.json +++ b/doc/json_schema.json @@ -415,7 +415,7 @@ "description": "Set the percentage output type. 1 for percentage number, 2 for bar, 3 for both, 6 for bar only, 9 for colored number", "minimum": 0, "maximum": 255, - "default": 1 + "default": 9 }, "ndigits": { "type": "number", diff --git a/src/data/help.txt b/src/data/help.txt index c04e58a1d..9a75bd4a3 100644 --- a/src/data/help.txt +++ b/src/data/help.txt @@ -74,7 +74,7 @@ Display options: --disable-linewrap : Whether to disable line wrap during the run --hide-cursor : Whether to hide the cursor during the run --binary-prefix : Set the binary prefix to used. Must be IEC, SI or JEDEC. Default is IEC - --percent-type : Set the percentage output type. 1 for percentage number, 2 for bar, 3 for both, 6 for bar only, 9 for colored number. Default is 1 + --percent-type : Set the percentage output type. 1 for percentage number, 2 for bar, 3 for both, 6 for bar only, 9 for colored number. Default is 9 --percent-ndigits : Set the number of digits to keep after the decimal point when formatting percentage numbers. Default is 0 --bar-char-elapsed : Set the character to use in elapsed part. Default is '■' --bar-char-total : Set the character to use in total part. Default is '-' diff --git a/src/flashfetch.c b/src/flashfetch.c index 72e93cf56..e35b84c93 100644 --- a/src/flashfetch.c +++ b/src/flashfetch.c @@ -45,13 +45,13 @@ int main(void) ffPrintMemory(&options->memory); ffPrintSwap(&options->swap); ffPrintDisk(&options->disk); + ffPrintLocalIp(&options->localIP); + // ffPrintPublicIp(&options->publicIP); + //ffPrintWifi(&options->wifi); ffPrintBattery(&options->battery); ffPrintPowerAdapter(&options->powerAdapter); //ffPrintPlayer(&options->player); //ffPrintMedia(&options->media); - //ffPrintLocalIp(&options->localIp); - //ffPrintPublicIp(&options->publicIp); - //ffPrintWifi(&options->wifi); //ffPrintCPUUsage(&options->cpuUsage); ffPrintLocale(&options->locale); //ffPrintDateTime(&options->dateTime);