Skip to content

[FEAT] Global decimal point setting #2234

@Kingproone

Description

@Kingproone

Description

at the moment you have to specify each categories decimal precision one by one, would be nice to just have a 'gobal' or 'all' variable that controls them

Motivation

cleaner config files, since i like if my values are consistent

Additional context

https://github.com/Kingproone/dotfiles/blob/main/home/%24USER/.config/fastfetch/config.jsonc

"display": {
                "separator": " ",
                "fraction": {"ndigits":2},
                "temp":     {"ndigits":2},
                "freq":     {"ndigits":2},
                "percent":  {"ndigits":2},
                "size":     {"ndigits":2}
           },

could change to something like this:

"display": {
                "separator": " ",
                "global": {"ndigits":2},
           },

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions