You are not logged in.
Hi forum,
I've been looking for a lightweight battery monitor for flux, but nothing fitted my needs. So I hacked my own. It is basically just a gtk status icon for which I set an appropriate pixmap.
It is written in plain C with some GTK functions and uses /sys for reading the battery state. It works for me with debian stable and testing.
Currently the syspath is hardcoded but it could be put into an environment variable.
Anyway, here it is:
https://github.com/riddleofst33l/gminibat
I know, I should check for return codes, but that will be done later.
Greetings
Sebastian
Last edited by crom (2011-05-02 22:37:19)
Offline