14 lines
373 B
QML
14 lines
373 B
QML
import "../config"
|
|
import "../services"
|
|
|
|
MetricPill {
|
|
icon: Icons.thermo
|
|
// temperature thresholds differ from load: warm >70, hot >85
|
|
iconColor: SysStats.temp >= 85 ? Theme.red
|
|
: SysStats.temp >= 70 ? Theme.peach
|
|
: SysStats.temp >= 55 ? Theme.yellow
|
|
: Theme.green
|
|
value: SysStats.temp + "°C"
|
|
reserve: "100°C"
|
|
}
|