From 6b448fd7915fd774be210d83a19ad77c42d22dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 25 Jan 2017 19:54:04 +0100 Subject: [PATCH] move net widget to match new layout --- contrib/README.md | 3 +-- contrib/{net.lua => net_linux.lua} | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) rename contrib/{net.lua => net_linux.lua} (97%) diff --git a/contrib/README.md b/contrib/README.md index 613b224..cbbd184 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -77,8 +77,7 @@ Provides I/O statistics for requested storage devices vicious.contrib.netcfg - -vicious.contrib.net - - +**vicious.contrib.net** vicious.contrib.openweather - provides weather information for a requested city diff --git a/contrib/net.lua b/contrib/net_linux.lua similarity index 97% rename from contrib/net.lua rename to contrib/net_linux.lua index 5e6ba93..5ea31b4 100644 --- a/contrib/net.lua +++ b/contrib/net_linux.lua @@ -18,7 +18,7 @@ local helpers = require("vicious.helpers") -- Net: provides usage statistics for all network interfaces -- vicious.contrib.net -local net = {} +local net_linux = {} -- Initialise function tables @@ -136,4 +136,4 @@ local function worker(format, tignorelist) end -- }}} -return setmetatable(net, { __call = function(_, ...) return worker(...) end }) +return setmetatable(net_linux, { __call = function(_, ...) return worker(...) end })