Skip to content

Commit 3276949

Browse files
committed
Doc: update README & Changelog
1 parent 1ec69d6 commit 3276949

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# WIP
22

33
Changes:
4+
* Keys in JSON configuration files are now case-sensitive, as stated in v2.49.0
5+
* This is a breaking change, but it should not affect most users as long as your config file passes JSON schema validation.
6+
* All module config flags are removed, as stated in v2.49.0
47
* Percent bar config `display.bar.*` options have been replaced with a more organized, nested object structure.
58
* `display.bar.charElapsed` has been renamed to `display.bar.char.elapsed`.
69
* `display.bar.charTotal` has been renamed to `display.bar.char.total`.
@@ -12,6 +15,19 @@ Features:
1215
* `display.bar.border: null` has been added as a shorthand to disable bar borders.
1316
* Add `display.bar.color.{elapsed,total,border}` to customize the color of the elapsed, total and border sections of the percent bar.
1417
* `display.bar.color: null` has been added as a shorthand to disable bar colors.
18+
* Improve Bedrock linux detection (#1881, OS / Disk, Linux)
19+
* Add command flag `--gen-config-full` which generates a JSON config file that contains all optional module options.
20+
* Default IP address shown when `localip.showAllIPs` is not set is improved (LocalIP)
21+
* For IPv4, preferred source address (if detected) is shown
22+
* For IPv6, first GUA or ULA that is not deprecated nor temporary is shown
23+
* Support interface speed detection on SunOS (LocalIP, SunOS)
24+
* Detect Xlibre (#1888, WM, Linux)
25+
26+
Bugfixes:
27+
* Fix possible segfault when parsing color strings in JSON config (#1878)
28+
* Fix gpu driver detection when DRM is used (GPU, FreeBSD)
29+
* Fix default route detection on DragonFly BSD (LocalIP, DFBSD)
30+
* Fix lliurex detection (#1882, OS, Linux)
1531

1632
# 2.49.0
1733

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ See the Wiki: https://github.com/fastfetch-cli/fastfetch/wiki/Building
9494
* 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`
9595
* View all data that fastfetch detects: `fastfetch -s <module1>[:<module2>][:<module3>] --format json`
9696
* Display help messages: `fastfetch --help`
97-
* Generate a config file based on command line arguments: `fastfetch --arg1 --arg2 --gen-config`
97+
* Generate a minimal config file: `fastfetch [-s <module1>[:<module2>]] --gen-config [</path/to/config.jsonc>]`
98+
* Use: `--gen-config-full` to generate a full config file with all optional options
9899

99100
## Customization
100101

src/data/help.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,16 @@
7777
},
7878
{
7979
"long": "gen-config",
80-
"desc": "Generate a config file at the specified path with options from the command line (if any)",
80+
"desc": "Generate a minimal config file at the specified path",
81+
"remark": "Defaults to \"~/.config/fastfetch/config.jsonc\". Will print the generated config if <path> is \"-\"",
82+
"arg": {
83+
"type": "path",
84+
"optional": true
85+
}
86+
},
87+
{
88+
"long": "gen-config-full",
89+
"desc": "Generate a full config file with all optional options at the specified path",
8190
"remark": "Defaults to \"~/.config/fastfetch/config.jsonc\". Will print the generated config if <path> is \"-\"",
8291
"arg": {
8392
"type": "path",

0 commit comments

Comments
 (0)