move mpc widget to match new layout

This commit is contained in:
Jörg Thalheim 2017-01-25 19:53:46 +01:00
parent e787aa0d68
commit 9cb3eab18f
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
2 changed files with 3 additions and 4 deletions

View File

@ -72,8 +72,7 @@ Provides I/O statistics for requested storage devices
{read_s}, {read_kb}, {read_mb}, {write_s}, {write_kb}, {write_mb}
and {sched}
vicious.contrib.mpc
-
**vicious.contrib.mpc**
vicious.contrib.netcfg
-

View File

@ -15,7 +15,7 @@ local helpers = require("vicious.helpers")
-- Mpc: provides the currently playing song in MPD
-- vicious.contrib.mpc
local mpc = {}
local mpc_all = {}
-- {{{ MPC widget type
@ -45,4 +45,4 @@ local function worker(format, warg)
end
-- }}}
return setmetatable(mpc, { __call = function(_, ...) return worker(...) end })
return setmetatable(mpc_all, { __call = function(_, ...) return worker(...) end })