-
Notifications
You must be signed in to change notification settings - Fork 552
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Read the FAQ first
- I have checked the FAQ but the issue is not covered
Description
HI All,
i think i have found a bug in diskio module.
my config for diskio is:
{
"type": "diskio",
"namePrefix": "",
"key": "{dev-path} IO",
"format": "{size-read} {size-written}",
},
this is the output for given "format" line config:
"format": "{size-read} {size-written}", - /dev/sda IO: 0 B/s/s 28.00 KB
"format": "{size-read}", - /dev/sda IO: 0 B/s/s
"format": "{size-written}", - /dev/sda IO: 28.00 KB
So as you can see with custom formatting setting "/s" which should be after {size-written} unit is always added and acctually doubled after {size-read} unit.
Without "format" line in the config values are printed properly.
Version used
fastfetch 2.48.1 (aarch64)
Bug prevalence
Always
Regression
Not sure
Installation
GitHub Releases
Package manager
No response
Screenshots
No response
Configuration
System information
Raspberry Pi OS, Bookworm.
Features built-in
threads
vulkan
wayland
xcb-randr
xrandr
drm
drm_amdgpu
gio
dconf
dbus
imagemagick7
imagemagick6
chafa
zlib
xfconf
sqlite3
rpm
egl
glx
opencl
libpulse
libddcutil
libelf
libzfs
Directx Headers
linux/videodev2
linux/wireless
Embedded pciids
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working