From 4882377cb3749af6db4dbfe64d10b6ab413d0f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 25 Jan 2017 20:05:01 +0100 Subject: [PATCH] move nvsmi widget to match new layout --- contrib/README.md | 13 +++++++++---- contrib/{nvsmi.lua => nvsmi_all.lua} | 4 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) rename contrib/{nvsmi.lua => nvsmi_all.lua} (91%) diff --git a/contrib/README.md b/contrib/README.md index db0cc83..554e89f 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -97,10 +97,15 @@ Supported Platforms: platform independent PCIe bandwidth, 5th as temperature of requested graphics device, 6th as frequency of GPU core, 7th as memory transfer rate -vicious.contrib.nvsmi - - provides (very basic) information about Nvidia GPU status from SMI - - takes optional card ID as an argument, i.e. "1", or defaults to ID 0 - - returns 1st value as temperature of requested graphics device +**vicious.contrib.nvsmi** + +Provides (very basic) information about Nvidia GPU status from SMI +Supported Platforms: platform independent + +- Arguments: + * takes optional card ID as an argument, i.e. "1", or defaults to ID 0 +- Returns: + * returns 1st value as temperature of requested graphics device vicious.contrib.ossvol - diff --git a/contrib/nvsmi.lua b/contrib/nvsmi_all.lua similarity index 91% rename from contrib/nvsmi.lua rename to contrib/nvsmi_all.lua index e68d4a1..317787e 100644 --- a/contrib/nvsmi.lua +++ b/contrib/nvsmi_all.lua @@ -13,7 +13,7 @@ local string = { match = string.match } -- nvsmi: provides GPU information from nvidia SMI -- vicious.contrib.nvsmi -local nvsmi = {} +local nvsmi_all = {} -- {{{ GPU Information widget type @@ -39,4 +39,4 @@ local function worker(format, warg) end -- }}} -return setmetatable(nvsmi, { __call = function(_, ...) return worker(...) end }) +return setmetatable(nvsmi_all, { __call = function(_, ...) return worker(...) end })