mv batproc to match new layout
This commit is contained in:
parent
02c20087c9
commit
93a0aa6649
|
@ -56,8 +56,7 @@ Supported platforms: Linux (required tools: `sysfs`)
|
||||||
|
|
||||||
**vicious.contrib.batpmu**
|
**vicious.contrib.batpmu**
|
||||||
|
|
||||||
vicious.contrib.batproc
|
**vicious.contrib.batproc**
|
||||||
-
|
|
||||||
|
|
||||||
vicious.contrib.dio
|
vicious.contrib.dio
|
||||||
- provides I/O statistics for requested storage devices
|
- provides I/O statistics for requested storage devices
|
||||||
|
|
|
@ -21,7 +21,7 @@ local string = {
|
||||||
|
|
||||||
-- Batproc: provides state, charge, and remaining time for a requested battery using procfs
|
-- Batproc: provides state, charge, and remaining time for a requested battery using procfs
|
||||||
-- vicious.contrib.batproc
|
-- vicious.contrib.batproc
|
||||||
local batproc = {}
|
local batproc_linux = {}
|
||||||
|
|
||||||
|
|
||||||
-- {{{ Battery widget type
|
-- {{{ Battery widget type
|
||||||
|
@ -83,4 +83,4 @@ local function worker(format, batid)
|
||||||
end
|
end
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
return setmetatable(batproc, { __call = function(_, ...) return worker(...) end })
|
return setmetatable(batproc_linux, { __call = function(_, ...) return worker(...) end })
|
Loading…
Reference in New Issue