Battery widget moved to batat.lua in preparation for a new bat widget.

It's time for a standalone battery widget that reads
/proc/acpi/battery/*/{info,state} alone. However the old battery
widget that uses 'acpitool' will not be deleted, let it serve as an
alternative widget as a convenience. Some might also prefer it over
reading multiple files in /proc
This commit is contained in:
Adrian C. (anrxc) 2009-07-29 22:20:32 +02:00
parent 9da374da4d
commit 76b8978ef2
2 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@ local table = { insert = table.insert }
-- }}}
-- Bat: provides state, charge, and remaining time for all batteries
module("vicious.bat")
-- Bat: provides state, charge, and remaining time for all batteries using acpitool
module("vicious.batat")
-- {{{ Battery widget type

View File

@ -40,7 +40,7 @@ require("vicious.cpu")
require("vicious.thermal")
require("vicious.load")
require("vicious.uptime")
require("vicious.bat")
require("vicious.batat")
require("vicious.mem")
require("vicious.fs")
require("vicious.dio")