Files
quickshell_bar/widgets/CpuTemp.qml
2026-05-31 09:28:44 +02:00

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"
}