waybar: add temperature display
This commit is contained in:
parent
ccb4da6643
commit
ca715c4d88
2 changed files with 15 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
|||
"custom/separator#right",
|
||||
"cpu",
|
||||
"memory",
|
||||
"temperature",
|
||||
"custom/separator#right",
|
||||
"battery",
|
||||
"custom/separator#right",
|
||||
|
@ -148,6 +149,13 @@
|
|||
"format-charging": "<span foreground='#268bd2'></span>{capacity:3}%",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"temperature": {
|
||||
"thermal-zone": 2,
|
||||
"critical-threshold": 60,
|
||||
"format-icons": ["", ""],
|
||||
"format": "<span foreground='#ebdbb2'>{icon}</span>{temperatureC:3}°C"
|
||||
|
||||
},
|
||||
"network#en0": {
|
||||
"interval": 2,
|
||||
"interface": "en0",
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
"custom/separator#right",
|
||||
"cpu",
|
||||
"memory",
|
||||
"temperature",
|
||||
"custom/separator#right",
|
||||
// "battery",
|
||||
// "custom/separator#right",
|
||||
|
@ -148,6 +149,12 @@
|
|||
"format-charging": "<span foreground='#268bd2'></span>{capacity:3}%",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"temperature": {
|
||||
"thermal-zone": 2,
|
||||
"critical-threshold": 60,
|
||||
"format-icons": ["", ""],
|
||||
"format": "<span foreground='#ebdbb2'>{icon}</span>{temperatureC:2}°C"
|
||||
},
|
||||
"network#en0": {
|
||||
"interval": 2,
|
||||
"interface": "en0",
|
||||
|
|
Loading…
Reference in a new issue