1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-04-19 11:24:24 +02:00

docs(examples): add full system info config

This commit is contained in:
Jake Stanger 2022-10-16 01:03:36 +01:00
parent e4e72d8008
commit a06c4bccca
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61

23
examples/sys-info.corn Normal file
View file

@ -0,0 +1,23 @@
{
end = [
{
type = "sys-info"
interval.memory = 30
interval.cpu = 1
interval.temps = 5
interval.disks = 300
interval.networks = 3
format = [
" {cpu-percent}% | {temp-c:k10temp-Tccd1}°C"
" {memory-used} / {memory-total} GB ({memory-percent}%)"
"| {swap-used} / {swap-total} GB ({swap-percent}%)"
" {disk-used:/} / {disk-total:/} GB ({disk-percent:/}%)"
"李 {net-down:enp39s0} / {net-up:enp39s0} Mbps"
"猪 {load-average:1} | {load-average:5} | {load-average:15}"
" {uptime}"
]
}
]
}