From 9cb3eab18fff08106434aff49b067c0bb440c2c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 25 Jan 2017 19:53:46 +0100 Subject: [PATCH] move mpc widget to match new layout --- contrib/README.md | 3 +-- contrib/{mpc.lua => mpc_all.lua} | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) rename contrib/{mpc.lua => mpc_all.lua} (91%) diff --git a/contrib/README.md b/contrib/README.md index 5c5d1a7..613b224 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -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 - diff --git a/contrib/mpc.lua b/contrib/mpc_all.lua similarity index 91% rename from contrib/mpc.lua rename to contrib/mpc_all.lua index 60974c0..20ce506 100644 --- a/contrib/mpc.lua +++ b/contrib/mpc_all.lua @@ -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 })