Doc: update README & Changelog

This commit is contained in:
李通洲
2025-08-11 16:42:53 +08:00
parent 1ec69d6838
commit 3276949663
3 changed files with 28 additions and 2 deletions
+16
View File
@@ -1,6 +1,9 @@
# WIP
Changes:
* Keys in JSON configuration files are now case-sensitive, as stated in v2.49.0
* This is a breaking change, but it should not affect most users as long as your config file passes JSON schema validation.
* All module config flags are removed, as stated in v2.49.0
* Percent bar config `display.bar.*` options have been replaced with a more organized, nested object structure.
* `display.bar.charElapsed` has been renamed to `display.bar.char.elapsed`.
* `display.bar.charTotal` has been renamed to `display.bar.char.total`.
@@ -12,6 +15,19 @@ Features:
* `display.bar.border: null` has been added as a shorthand to disable bar borders.
* Add `display.bar.color.{elapsed,total,border}` to customize the color of the elapsed, total and border sections of the percent bar.
* `display.bar.color: null` has been added as a shorthand to disable bar colors.
* Improve Bedrock linux detection (#1881, OS / Disk, Linux)
* Add command flag `--gen-config-full` which generates a JSON config file that contains all optional module options.
* Default IP address shown when `localip.showAllIPs` is not set is improved (LocalIP)
* For IPv4, preferred source address (if detected) is shown
* For IPv6, first GUA or ULA that is not deprecated nor temporary is shown
* Support interface speed detection on SunOS (LocalIP, SunOS)
* Detect Xlibre (#1888, WM, Linux)
Bugfixes:
* Fix possible segfault when parsing color strings in JSON config (#1878)
* Fix gpu driver detection when DRM is used (GPU, FreeBSD)
* Fix default route detection on DragonFly BSD (LocalIP, DFBSD)
* Fix lliurex detection (#1882, OS, Linux)
# 2.49.0
+2 -1
View File
@@ -94,7 +94,8 @@ See the Wiki: https://github.com/fastfetch-cli/fastfetch/wiki/Building
* Run with [all supported modules](https://github.com/fastfetch-cli/fastfetch/wiki/Support+Status#available-modules) to find what interests you: `fastfetch -c all.jsonc`
* View all data that fastfetch detects: `fastfetch -s <module1>[:<module2>][:<module3>] --format json`
* Display help messages: `fastfetch --help`
* Generate a config file based on command line arguments: `fastfetch --arg1 --arg2 --gen-config`
* Generate a minimal config file: `fastfetch [-s <module1>[:<module2>]] --gen-config [</path/to/config.jsonc>]`
* Use: `--gen-config-full` to generate a full config file with all optional options
## Customization
+10 -1
View File
@@ -77,7 +77,16 @@
},
{
"long": "gen-config",
"desc": "Generate a config file at the specified path with options from the command line (if any)",
"desc": "Generate a minimal config file at the specified path",
"remark": "Defaults to \"~/.config/fastfetch/config.jsonc\". Will print the generated config if <path> is \"-\"",
"arg": {
"type": "path",
"optional": true
}
},
{
"long": "gen-config-full",
"desc": "Generate a full config file with all optional options at the specified path",
"remark": "Defaults to \"~/.config/fastfetch/config.jsonc\". Will print the generated config if <path> is \"-\"",
"arg": {
"type": "path",