[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
|
### vicious.widget.fanspeed
|
||||||
|
|
||||||
Provides fanspeed information for specified fan.
|
Provides fanspeed information for specified fans.
|
||||||
|
|
||||||
Supported platforms: FreeBSD.
|
Supported platforms: FreeBSD.
|
||||||
|
|
||||||
* Argument: full `sysctl` string to entry, e.g. `"dev.acpi_ibm.0.fan_speed"`
|
* Argument: full `sysctl` string to one or multiple entries, e.g.
|
||||||
* Returns speed of specified fan in RPM, `-1` on error (probably wrong string)
|
`"dev.acpi_ibm.0.fan_speed"`
|
||||||
|
* Returns speed of specified fan in RPM, `"N/A"` on error (probably wrong string)
|
||||||
|
|
||||||
### vicious.widgets.fs
|
### vicious.widgets.fs
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,10 @@ local tonumber = tonumber
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
|
|
||||||
-- fanspeed: provides speed level of main fan
|
-- fanspeed: provides speed level of fans
|
||||||
--
|
|
||||||
-- expects one (1) full sysctl string to entry
|
|
||||||
-- e.g.: "dev.acpi_ibm.0.fan_speed"
|
|
||||||
|
|
||||||
-- fanspeed: provides speed level of main fan
|
|
||||||
-- vicious.widgets.fanspeed
|
-- 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"
|
-- e.g.: "dev.acpi_ibm.0.fan_speed"
|
||||||
local fanspeed_freebsd = {}
|
local fanspeed_freebsd = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue