information for multiple batteries

Tamas Papp tkpapp at gmail.com
Fri Jun 28 09:44:04 BST 2013


Hi,

I have a laptop with 2 batteries (a main one and one in the ultrabay).
I am trying to have xmonad display information (at least percentage of
charge left, and charge/discharge status) for both.  But I could not
figure out how to do this, I can use two BatteryP commands but the
%battery% alias will always use only one of them.

Is there a way to do this with xmobar, or should I just hack something
together using external commands and a shell script?

Best,

Tamas



More information about the Xmobar mailing list