move wpa widget to match new layout
This commit is contained in:
parent
6ca428becd
commit
4502524a19
|
@ -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**
|
||||
|
||||
|
|
|
@ -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 })
|
Loading…
Reference in New Issue