Two decimal places in output?
- Dominant language
- C
- Stars
- 653
- Forks
- 254
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/i3/i3status/blob/d53da19a79d68b1dc9abdb953c3d2e0497b33a7a/src/print_disk_info.c#L45
Is it possible somehow to adjust ~/.config/i3status/config to show two decimal places, maybe something like
```
disk "/" {
format = "%avail"
decimals = 2
}
```
Also see:
- https://github.com/i3/i3status/blob/d53da19a79d68b1dc9abdb953c3d2e0497b33a7a/src/print_eth_info.c#L52
- https://github.com/i3/i3status/blob/d53da19a79d68b1dc9abdb953c3d2e0497b33a7a/src/print_mem.c#L41
Oh apparently the memory module supports a decimals option to configure the number of decimal places, for example:
```
memory {
format = "%used"
decimals = 2
}
```
(I edited initial config snippet above to match format))
Contributor guide
Assessment
This issue has not been assessed yet.