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 > <peterjohnhart...@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