Hello Everyone,

I was giving a look at /bin/qubes-i3status and realized that it is supposed 
to show also battery info in the statusbar along with disk usage, time and 
so on. This does not happen for me. The reason is that at some point the 
script looks for /sys/class/power_supply/BAT*/energy_now and 
/sys/class/power_supply/BAT*/energy_full to calculate the charge percentage 
of the battery. Unfortunately, energy_now and energy_full are not present 
in /sys/class/power_supply/BAT* for me. I tried to edit the script using 
instead charge_now and charge_full. Doing this, the battery information is 
correctly displayed when AC is disconnected, but when it's not it balloons 
up to 137%. This is not a problem of the script itself but of the 
charge_now parameter, that balloons when AC is connected.

I don't know if this is a bug or if I'm the only one affected. Using upower 
the information displayed seems correct.

Moreover, suppose I want to edit the style of these notifications, i.e. I 
want the date (and only the date) to be displayed in bold. Can this be done 
from the i3 config file? I'm asking because it looks to me that 
qubes-i3status outputs one string with all the relevant information in it. 
In this case I suppose I'd have to edit qubes-i3status itself to output the 
string with the colors I want or, probably better, I should post-process 
the string with some other script before passing it to the i3 config file.
Any comment on this would be appreciated.

Thanks for your Time
Fab.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/236a5351-d0aa-4f0c-b040-4ad6fb88f0b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to