mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
bar: make icon for cpu more readable
This commit is contained in:
@@ -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 ?
|
||||
|
||||
Reference in New Issue
Block a user