Formatting values without units? #2021
Unanswered
eclairevoyant
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The modules that output large values (e.g. network, disk) output them as a fully formatted string with units.
Is there a way to remove the units and just have the raw numerical value? This would allow proper formatting (e.g. rounding, since I don't care about tenths of a GiB for disk usage, or hiding units since I know it's always GiB).
Worst case I can run my own console commands and parse the output manually, but I think that would defeat the purpose of using waybar.
Beta Was this translation helpful? Give feedback.
All reactions