move nvinf widget to match new layout

This commit is contained in:
Jörg Thalheim 2017-01-25 20:02:28 +01:00
parent 6b448fd791
commit f333c78256
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
2 changed files with 11 additions and 7 deletions

View File

@ -85,11 +85,15 @@ vicious.contrib.openweather
- returns a table with string keys: {city}, {wind deg}, {wind aim}, - returns a table with string keys: {city}, {wind deg}, {wind aim},
{wind kmh}, {wind mps}, {sky}, {weather}, {temp c}, {humid}, {press} {wind kmh}, {wind mps}, {sky}, {weather}, {temp c}, {humid}, {press}
vicious.contrib.nvinf **vicious.contrib.nvinf**
- provides GPU utilization, core temperature, clock frequency information
about Nvidia GPU from nvidia-settings provides GPU utilization, core temperature, clock frequency information about Nvidia GPU from nvidia-settings
- takes optional card ID as an argument, i.e. "1", or defaults to ID 0 Supported Platforms: platform independent
- returns first 4 values as usage of GPU core, memory, video engine and
- Arguments
* takes optional card ID as an argument, i.e. "1", or defaults to ID 0
- Returns
* first 4 values as usage of GPU core, memory, video engine and
PCIe bandwidth, 5th as temperature of requested graphics device, 6th PCIe bandwidth, 5th as temperature of requested graphics device, 6th
as frequency of GPU core, 7th as memory transfer rate as frequency of GPU core, 7th as memory transfer rate

View File

@ -13,7 +13,7 @@ local helpers = require("vicious.helpers")
-- vicious.widgets.nvinf -- vicious.widgets.nvinf
local nvinf = {} local nvinf_all = {}
-- {{{ NVIDIA infomation widget type -- {{{ NVIDIA infomation widget type
@ -32,4 +32,4 @@ local function worker(format, warg)
end end
-- }}} -- }}}
return setmetatable(nvinf, { __call = function(_, ...) return worker(...) end }) return setmetatable(nvinf_all, { __call = function(_, ...) return worker(...) end })