move ati widget to match new layout

This commit is contained in:
Jörg Thalheim 2017-01-25 19:45:19 +01:00
parent 387ab4a8b1
commit 865fe5bf5d
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
2 changed files with 12 additions and 7 deletions

View File

@ -41,11 +41,16 @@ Supported platforms: Linux (required tools: `sysfs`)
* if AC is connected, $1 returns "On", if not it returns "Off", * if AC is connected, $1 returns "On", if not it returns "Off",
if AC doesn't exist, $1 is "N/A" if AC doesn't exist, $1 is "N/A"
vicious.contrib.ati **vicious.contrib.ati**
- provides various info about ATI GPU status
- takes card ID as an argument, i.e. "card0" (and where possible, Provides various info about ATI GPU status.
Supported platforms: Linux (required tools: `sysfs`)
- Arguments:
* takes card ID as an argument, i.e. "card0" (and where possible,
uses debugfs to gather data on radeon power management) uses debugfs to gather data on radeon power management)
- returns a table with string keys: {method}, {dpm_state}, - Returns:
* a table with string keys: {method}, {dpm_state},
{dpm_perf_level}, {profile}, {engine_clock mhz}, {engine_clock khz}, {dpm_perf_level}, {profile}, {engine_clock mhz}, {engine_clock khz},
{memory_clock mhz}, {memory_clock khz}, {voltage v}, {voltage mv} {memory_clock mhz}, {memory_clock khz}, {voltage v}, {voltage mv}

View File

@ -17,8 +17,8 @@ local string = {
-- ATI: provides various info about ATI GPU status -- ATI: provides various info about ATI GPU status
-- vicious.widgets.ati -- vicious.contrib.ati
local ati = {} local ati_linux = {}
-- {{{ Define variables -- {{{ Define variables
@ -76,4 +76,4 @@ local function worker(format, warg)
end end
-- }}} -- }}}
return setmetatable(ati, { __call = function(_, ...) return worker(...) end }) return setmetatable(ati_linux, { __call = function(_, ...) return worker(...) end })