On Sat, Sep 15, 2007 at 01:49:17PM -0700, Amit wrote:

> I've tried modifying the .xinitrc to contain the battery percentage
> level from apm but I cannot seem to get it. What is the proper way
> to do this?

I use this script:
http://oni.tomodachi.de/~mitch/tmp/battery.pl

Call it with -s to get a one line output suitable for dwm.
It works with ACPI instead of APM though.

Regards,
Christian
-- 
....Christian.Garbs.....................................http://www.cgarbs.de

Bitte um Erleuchtung. Am besten 220V~, nicht gelb, nicht Pikachu.
                                -- Thomas Neumann in de.alt.anime


Reply via email to