[fanspeed_freebsd] Multiple fans are now supported
This commit is contained in:
parent
a23952f555
commit
8092915e86
|
@ -228,12 +228,13 @@ Returns a table with string keys: `${sda total_s}`, `${sda total_kb}`,
|
|||
|
||||
### vicious.widget.fanspeed
|
||||
|
||||
Provides fanspeed information for specified fan.
|
||||
Provides fanspeed information for specified fans.
|
||||
|
||||
Supported platforms: FreeBSD.
|
||||
|
||||
* Argument: full `sysctl` string to entry, e.g. `"dev.acpi_ibm.0.fan_speed"`
|
||||
* Returns speed of specified fan in RPM, `-1` on error (probably wrong string)
|
||||
* Argument: full `sysctl` string to one or multiple entries, e.g.
|
||||
`"dev.acpi_ibm.0.fan_speed"`
|
||||
* Returns speed of specified fan in RPM, `"N/A"` on error (probably wrong string)
|
||||
|
||||
### vicious.widgets.fs
|
||||
|
||||
|
|
|
@ -4,15 +4,10 @@ local tonumber = tonumber
|
|||
-- }}}
|
||||
|
||||
|
||||
-- fanspeed: provides speed level of main fan
|
||||
--
|
||||
-- expects one (1) full sysctl string to entry
|
||||
-- e.g.: "dev.acpi_ibm.0.fan_speed"
|
||||
|
||||
-- fanspeed: provides speed level of main fan
|
||||
-- fanspeed: provides speed level of fans
|
||||
-- vicious.widgets.fanspeed
|
||||
--
|
||||
-- expects one (1) full sysctl string to entry
|
||||
-- expects one or multiple full sysctl strings to entry
|
||||
-- e.g.: "dev.acpi_ibm.0.fan_speed"
|
||||
local fanspeed_freebsd = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue