forked from Shinonome/dots-hyprland
bar: make icon for cpu more readable
This commit is contained in:
@@ -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 ?
|
||||
|
||||
Reference in New Issue
Block a user