New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] EWW_RAM returning strange values #1074
Labels
bug
Something isn't working
Comments
The values are in bytes instead of kilobytes. The documentation is wrong. I think returning values in bytes is fine and the docs should be updated instead so that no widgets are broken. |
4 tasks
I agree, changing the docs is the best approach here.
No idea how I didn't think of checking that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist before submitting an issue
Description of the bug
EWW_RAM returns some ridiculously high values, which are according to the (docs)[https://elkowar.github.io/eww/magic-vars.html#eww_ram] in kB. However the usage percentage is still accurate.
Returned json by "eww get EWW_RAM":
Reproducing the issue
Simply run "eww get EWW_RAM" in your terminal emulator of choice.
Expected behaviour
The value should ideally equal (at least roughly) what I actually have in my system; 16 GB + 8GB swap.
Additional context
cat /proc/meminfo
The text was updated successfully, but these errors were encountered: