move wpa widget to match new layout

This commit is contained in:
Jörg Thalheim 2017-01-25 20:15:56 +01:00
parent 6ca428becd
commit 4502524a19
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
2 changed files with 10 additions and 6 deletions

View File

@ -142,11 +142,15 @@ manipulate them
**vicious.contrib.sensors**
vicious.contrib.wpa
- provides information about the wifi status
- requires 'wpa_cli' from wpa_supplicant
**vicious.contrib.wpa**
Provides information about the wifi status
Supported Platforms: platform independent (`wpa_cli`)
- Arguments
- takes the interface as an argument, i.e "wlan0" or "wlan1"
- returns a table with string keys: {ssid}, {qual}, {ip}, {bssid}
- Returns
- a table with string keys: {ssid}, {qual}, {ip}, {bssid}
**vicious.contrib.buildbot**

View File

@ -20,7 +20,7 @@ local string = {
-- Wifi: provides wireless information for a requested interface
local wpa = {}
local wpa_all = {}
local info = {
["{ssid}"] = "N/A",
@ -62,4 +62,4 @@ local function worker(format, warg)
end
-- }}}
return setmetatable(_M, { __call = function(_, ...) return worker(...) end })
return setmetatable(wpa_all, { __call = function(_, ...) return worker(...) end })