Skip to content

Commit

Permalink
fastfetch: update example for JsonConfig settings
Browse files Browse the repository at this point in the history
fastfetch: update example for JsonConfig settings

Using the present version of the example, trows an error:

    JsonConfig Error: `display.binaryPrefix` has been renamed to
    `display.size.binaryPrefix`. Sorry for another break change.

It occurs because of change in fastfetch 2.19 of JsonConfig - moving
`display.binaryPrefix` to `display.size.binaryPrefix`

To not confuse the users, this commit changes the example to fit
current standard

See <https://github.com/fastfetch-cli/fastfetch/blob/b3ac696312824cce12df76e398b5362973cde481/CHANGELOG.md?plain=1#L85>
  • Loading branch information
Ladas552 authored Aug 7, 2024
1 parent a6c7439 commit b3d5ea6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/programs/fastfetch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ in {
};
};
display = {
binaryPrefix = "si";
size = {
binaryPrefix = "si";
};
color = "blue";
separator = "  ";
};
Expand Down

0 comments on commit b3d5ea6

Please sign in to comment.