How to change from MiB or GiB to MB and GB · fastfetch-cli/fastfetch · Discussion #1014
To change the units from MiB/GiB to MB/GB in Fastfetch, you’ll want to adjust the binaryPrefix setting in your configuration. Here's how you can do it:
🛠️ Update Fastfetch Config to Use MB/GB Units
In your Fastfetch JSON config file (usually located at ~/.config/fastfetch/config.jsonc), find or add the following under the display section:
json "display": { "size": { "binaryPrefix": "jedec" } }
🔍 What This Does
- Setting "binaryPrefix": "jedec" switches the unit system from IEC (MiB/GiB) to JEDEC (MB/GB).
- This affects how memory and disk sizes are displayed—using base 10 (1 GB = 1000 MB) instead of base 2 (1 GiB = 1024 MiB).
You can also pass this directly via command line if you prefer:
b…