mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-24 02:55:39 +02:00
modules: add temp module
This commit is contained in:
parent
4ff1c43669
commit
9bbe57a306
5 changed files with 292 additions and 0 deletions
50
doc/yambar-modules-temp.5.scd
Normal file
50
doc/yambar-modules-temp.5.scd
Normal file
|
@ -0,0 +1,50 @@
|
|||
yambar-modules-temp(5)
|
||||
|
||||
# NAME
|
||||
temp - This module displays the temperature of the thermal zones available on
|
||||
the system
|
||||
|
||||
# TAGS
|
||||
|
||||
[[ *Name*
|
||||
:[ *Type*
|
||||
:[ *Description*
|
||||
| temp
|
||||
: string
|
||||
: Current temperature of a given thermal zone
|
||||
|
||||
# CONFIGURATION
|
||||
|
||||
[[ *Name*
|
||||
:[ *Type*
|
||||
:[ *Req*
|
||||
:[ *Description*
|
||||
| interval
|
||||
: int
|
||||
: no
|
||||
: Refresh interval of the temperature in ms (default=500). Cannot be less then 500 ms
|
||||
| unit
|
||||
: string
|
||||
: no
|
||||
: Unit of the temperature. It can be Celsius (C) or Farenheit (F) (default=C)
|
||||
|
||||
| thermal_zone
|
||||
: int
|
||||
: yes
|
||||
: Identifier of the thermal zone to read
|
||||
|
||||
# EXAMPLES
|
||||
|
||||
```
|
||||
bar:
|
||||
left:
|
||||
- temp:
|
||||
interval: 1000
|
||||
thermal_zone: 0
|
||||
content:
|
||||
string: {text: "{temp}C"}
|
||||
```
|
||||
|
||||
# SEE ALSO
|
||||
|
||||
*yambar-modules*(5), *yambar-particles*(5), *yambar-tags*(5), *yambar-decorations*(5)
|
Loading…
Add table
Add a link
Reference in a new issue