move mpc widget to match new layout
This commit is contained in:
parent
e787aa0d68
commit
9cb3eab18f
|
@ -72,8 +72,7 @@ Provides I/O statistics for requested storage devices
|
||||||
{read_s}, {read_kb}, {read_mb}, {write_s}, {write_kb}, {write_mb}
|
{read_s}, {read_kb}, {read_mb}, {write_s}, {write_kb}, {write_mb}
|
||||||
and {sched}
|
and {sched}
|
||||||
|
|
||||||
vicious.contrib.mpc
|
**vicious.contrib.mpc**
|
||||||
-
|
|
||||||
|
|
||||||
vicious.contrib.netcfg
|
vicious.contrib.netcfg
|
||||||
-
|
-
|
||||||
|
|
|
@ -15,7 +15,7 @@ local helpers = require("vicious.helpers")
|
||||||
|
|
||||||
-- Mpc: provides the currently playing song in MPD
|
-- Mpc: provides the currently playing song in MPD
|
||||||
-- vicious.contrib.mpc
|
-- vicious.contrib.mpc
|
||||||
local mpc = {}
|
local mpc_all = {}
|
||||||
|
|
||||||
|
|
||||||
-- {{{ MPC widget type
|
-- {{{ MPC widget type
|
||||||
|
@ -45,4 +45,4 @@ local function worker(format, warg)
|
||||||
end
|
end
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
return setmetatable(mpc, { __call = function(_, ...) return worker(...) end })
|
return setmetatable(mpc_all, { __call = function(_, ...) return worker(...) end })
|
Loading…
Reference in New Issue