From 93a0aa6649cf50f6fd68b927b57181ebc77745ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 25 Jan 2017 19:47:47 +0100 Subject: [PATCH] mv batproc to match new layout --- contrib/README.md | 3 +-- contrib/{batproc.lua => batproc_linux.lua} | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) rename contrib/{batproc.lua => batproc_linux.lua} (95%) diff --git a/contrib/README.md b/contrib/README.md index fc642b4..2f2fde5 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -56,8 +56,7 @@ Supported platforms: Linux (required tools: `sysfs`) **vicious.contrib.batpmu** -vicious.contrib.batproc - - +**vicious.contrib.batproc** vicious.contrib.dio - provides I/O statistics for requested storage devices diff --git a/contrib/batproc.lua b/contrib/batproc_linux.lua similarity index 95% rename from contrib/batproc.lua rename to contrib/batproc_linux.lua index 8acf005..0d4dfe7 100644 --- a/contrib/batproc.lua +++ b/contrib/batproc_linux.lua @@ -21,7 +21,7 @@ local string = { -- Batproc: provides state, charge, and remaining time for a requested battery using procfs -- vicious.contrib.batproc -local batproc = {} +local batproc_linux = {} -- {{{ Battery widget type @@ -83,4 +83,4 @@ local function worker(format, batid) end -- }}} -return setmetatable(batproc, { __call = function(_, ...) return worker(...) end }) +return setmetatable(batproc_linux, { __call = function(_, ...) return worker(...) end })