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",
|
"custom/separator#right",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
|
"temperature",
|
||||||
"custom/separator#right",
|
"custom/separator#right",
|
||||||
"battery",
|
"battery",
|
||||||
"custom/separator#right",
|
"custom/separator#right",
|
||||||
|
@ -148,6 +149,13 @@
|
||||||
"format-charging": "<span foreground='#268bd2'></span>{capacity:3}%",
|
"format-charging": "<span foreground='#268bd2'></span>{capacity:3}%",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
},
|
},
|
||||||
|
"temperature": {
|
||||||
|
"thermal-zone": 2,
|
||||||
|
"critical-threshold": 60,
|
||||||
|
"format-icons": ["", ""],
|
||||||
|
"format": "<span foreground='#ebdbb2'>{icon}</span>{temperatureC:3}°C"
|
||||||
|
|
||||||
|
},
|
||||||
"network#en0": {
|
"network#en0": {
|
||||||
"interval": 2,
|
"interval": 2,
|
||||||
"interface": "en0",
|
"interface": "en0",
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
"custom/separator#right",
|
"custom/separator#right",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
|
"temperature",
|
||||||
"custom/separator#right",
|
"custom/separator#right",
|
||||||
// "battery",
|
// "battery",
|
||||||
// "custom/separator#right",
|
// "custom/separator#right",
|
||||||
|
@ -148,6 +149,12 @@
|
||||||
"format-charging": "<span foreground='#268bd2'></span>{capacity:3}%",
|
"format-charging": "<span foreground='#268bd2'></span>{capacity:3}%",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
},
|
},
|
||||||
|
"temperature": {
|
||||||
|
"thermal-zone": 2,
|
||||||
|
"critical-threshold": 60,
|
||||||
|
"format-icons": ["", ""],
|
||||||
|
"format": "<span foreground='#ebdbb2'>{icon}</span>{temperatureC:2}°C"
|
||||||
|
},
|
||||||
"network#en0": {
|
"network#en0": {
|
||||||
"interval": 2,
|
"interval": 2,
|
||||||
"interface": "en0",
|
"interface": "en0",
|
||||||
|
|
Loading…
Reference in a new issue