Closed WizenedPottle closed 1 year ago
hi there,
can you try manually running cd .config/eww && scripts/battery
and provide the output? does it output a proper json with the correct values ("percentage" should be 0 to 100)?
with your given information i'm not sure what else there is to fix
Output it provides:
{"quickicon": "", "icon": "", "percentage": 100, "wattage": "12.8 W", "status": "00:34h left", "circolor": "#ffdbc4", "cirbgcolor": "transparent", "color": "white", "bgcolor": "transparent" }
It should be at 100% so that's correct, I don't know about this 00:34h left.
I will try to figure something out later today, will update if I figure something out.
would be nice if you could send a screenshot
Apologies for the delay in getting back to you. I had an exam in Thermodynamics, which required my full attention.
Regarding the issue, I am using your main repository but have customized the color scheme using Summer Gruve. Here is a screenshot:
Please let me know if you have any insights or suggestions for resolving this issue. Thank you for your understanding.
Oops i think my commit saying hopefully fixes #18
auto-closed it lol
Anyway you should try again with that fix in https://github.com/end-4/dots-hyprland/commit/b05be1394b2230ce98c278d2c773aeac8183da47
eww get EWW_BATTERY
and see if it outputs proper values. Should be something like this
{"BATT": { "status": "Discharging", "capacity": 25 }, "total_avg": 26.0}
Thank you man!
I'm a newbie with eww, but I'm trying to figure it out. I just want to make it clear from the start.
The battery widget isn't working for me. After some investigation, I discovered that my battery information is stored in
/sys/class/power_supply/BAT0
compared toBATT
in your configuration. I :s///g'ed that, and now the script does what it's supposed to do. However, the widget still doesn't work. Can you recommend my next steps in figuring this out?Great repo btw!