Re: [dwm] Proper way of monitoring battery level in DWM

From: Christian Garbs <mitch_AT_cgarbs.de>
Date: Tue, 18 Sep 2007 20:37:33 +0200

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
Received on Tue Sep 18 2007 - 20:48:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:53:40 UTC