diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-07-29 22:20:32 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-07-29 22:20:32 +0200 |
commit | 76b8978ef2d75ba8930ef263afb4a2d583c629c4 (patch) | |
tree | b6064bd81c8a40432755ced272a5e69594de3885 | |
parent | 9da374da4dbb53af6f01638410f3e2b8bd3763a7 (diff) | |
download | vicious-legacy-76b8978ef2d75ba8930ef263afb4a2d583c629c4.tar.xz |
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
-rw-r--r-- | batat.lua (renamed from bat.lua) | 4 | ||||
-rw-r--r-- | init.lua | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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") |