mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 10:41:03 +02:00
docs(sys info): fix cpu temp examples
Use - instead of _ for [sensor], as in #129
This commit is contained in:
parent
a9e28e163f
commit
f2c4ddb914
1 changed files with 5 additions and 5 deletions
|
@ -28,7 +28,7 @@ Pango markup is supported.
|
||||||
"end": [
|
"end": [
|
||||||
{
|
{
|
||||||
"format": [
|
"format": [
|
||||||
" {cpu_percent}% | {temp_c:k10temp_Tccd1}°C",
|
" {cpu_percent}% | {temp_c:k10temp-Tccd1}°C",
|
||||||
" {memory_used} / {memory_total} GB ({memory_percent}%)",
|
" {memory_used} / {memory_total} GB ({memory_percent}%)",
|
||||||
"| {swap_used} / {swap_total} GB ({swap_percent}%)",
|
"| {swap_used} / {swap_total} GB ({swap_percent}%)",
|
||||||
" {disk_used:/} / {disk_total:/} GB ({disk_percent:/}%)",
|
" {disk_used:/} / {disk_total:/} GB ({disk_percent:/}%)",
|
||||||
|
@ -58,7 +58,7 @@ Pango markup is supported.
|
||||||
[[end]]
|
[[end]]
|
||||||
type = 'sys_info'
|
type = 'sys_info'
|
||||||
format = [
|
format = [
|
||||||
' {cpu_percent}% | {temp_c:k10temp_Tccd1}°C',
|
' {cpu_percent}% | {temp_c:k10temp-Tccd1}°C',
|
||||||
' {memory_used} / {memory_total} GB ({memory_percent}%)',
|
' {memory_used} / {memory_total} GB ({memory_percent}%)',
|
||||||
'| {swap_used} / {swap_total} GB ({swap_percent}%)',
|
'| {swap_used} / {swap_total} GB ({swap_percent}%)',
|
||||||
' {disk_used:/} / {disk_total:/} GB ({disk_percent:/}%)',
|
' {disk_used:/} / {disk_total:/} GB ({disk_percent:/}%)',
|
||||||
|
@ -85,7 +85,7 @@ temps = 5
|
||||||
```yaml
|
```yaml
|
||||||
end:
|
end:
|
||||||
- format:
|
- format:
|
||||||
- ' {cpu_percent}% | {temp_c:k10temp_Tccd1}°C'
|
- ' {cpu_percent}% | {temp_c:k10temp-Tccd1}°C'
|
||||||
- ' {memory_used} / {memory_total} GB ({memory_percent}%)'
|
- ' {memory_used} / {memory_total} GB ({memory_percent}%)'
|
||||||
- '| {swap_used} / {swap_total} GB ({swap_percent}%)'
|
- '| {swap_used} / {swap_total} GB ({swap_percent}%)'
|
||||||
- ' {disk_used:/} / {disk_total:/} GB ({disk_percent:/}%)'
|
- ' {disk_used:/} / {disk_total:/} GB ({disk_percent:/}%)'
|
||||||
|
@ -119,7 +119,7 @@ end:
|
||||||
interval.networks = 3
|
interval.networks = 3
|
||||||
|
|
||||||
format = [
|
format = [
|
||||||
" {cpu_percent}% | {temp_c:k10temp_Tccd1}°C"
|
" {cpu_percent}% | {temp_c:k10temp-Tccd1}°C"
|
||||||
" {memory_used} / {memory_total} GB ({memory_percent}%)"
|
" {memory_used} / {memory_total} GB ({memory_percent}%)"
|
||||||
"| {swap_used} / {swap_total} GB ({swap_percent}%)"
|
"| {swap_used} / {swap_total} GB ({swap_percent}%)"
|
||||||
" {disk_used:/} / {disk_total:/} GB ({disk_percent:/}%)"
|
" {disk_used:/} / {disk_total:/} GB ({disk_percent:/}%)"
|
||||||
|
@ -168,7 +168,7 @@ The following tokens can be used in the `format` configuration option:
|
||||||
| `{load_average:15}` | 15-minute load average. |
|
| `{load_average:15}` | 15-minute load average. |
|
||||||
| `{uptime}` | System uptime formatted as `HH:mm`. |
|
| `{uptime}` | System uptime formatted as `HH:mm`. |
|
||||||
|
|
||||||
For Intel CPUs, you can typically use `coretemp-Package-id-0` for the temperature sensor. For AMD, you can use `k10temp_Tccd1`.
|
For Intel CPUs, you can typically use `coretemp-Package-id-0` for the temperature sensor. For AMD, you can use `k10temp-Tccd1`.
|
||||||
|
|
||||||
## Styling
|
## Styling
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue