bar: make icon for cpu more readable

This commit is contained in:
end-4
2025-08-12 23:54:30 +07:00
parent 8bb2e0aa97
commit 2faf615b68
2 changed files with 3 additions and 2 deletions
@@ -51,6 +51,7 @@ Item {
MaterialSymbol {
anchors.centerIn: parent
font.weight: Font.DemiBold
fill: 1
text: iconName
iconSize: Appearance.font.pixelSize.normal
@@ -53,14 +53,14 @@ Item {
}
Resource {
iconName: "settings_slow_motion"
iconName: "planner_review"
percentage: ResourceUsage.cpuUsage
shown: Config.options.bar.resources.alwaysShowCpu ||
!(MprisController.activePlayer?.trackTitle?.length > 0) ||
root.alwaysShowAllResources
Layout.leftMargin: shown ? 6 : 0
tooltipHeaderIcon: "settings_slow_motion"
tooltipHeaderIcon: "planner_review"
tooltipHeaderText: Translation.tr("CPU usage")
tooltipData: [
{ icon: "bolt", label: Translation.tr("Load:"), value: (ResourceUsage.cpuUsage > 0.8 ?