add full proj
This commit is contained in:
13
widgets/CpuTemp.qml
Normal file
13
widgets/CpuTemp.qml
Normal file
@@ -0,0 +1,13 @@
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user