Re: [dev] dwm battery level alarm system

From: Peter John Hartman <peterjohnhartman_AT_gmail.com>
Date: Wed, 26 Jan 2011 18:11:30 -0500

Hi

On Wed, Jan 26, 2011 at 11:57:36PM +0100, Danilo Bargen wrote:
> Hi
>
> On Wed, Jan 26, 2011 at 11:21 PM, Peter John Hartman
> <peterjohnhartman_AT_gmail.com> wrote:
> > acpid
>
> Thanks for your answer. acpid is a good idea, as it also works when
> dwm hasn't been started. But it only solves the problem of detecting
> low battery, not of the way of alarming. In your script, you're
> directly suspending your laptop, I would like a warning some time
> before that.

Check the script again. You can do, e.g., xsetroot -name "WATCH OUT" or
whatever you'd like instead of the tmux-echo call I do.

Peter

-- 
sic dicit magister P
PhD Candidate
Collaborative Programme in Ancient and Medieval Philosophy
University of Toronto
http://individual.utoronto.ca/peterjh
Received on Thu Jan 27 2011 - 00:11:30 CET

This archive was generated by hypermail 2.2.0 : Thu Jan 27 2011 - 00:12:06 CET