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:
parent
9da374da4d
commit
76b8978ef2
|
@ -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
|
Loading…
Reference in New Issue