GPU plugin
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Python / lint-format (pull_request) Successful in 18s
Python / test (pull_request) Successful in 29s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m8s

This commit is contained in:
2026-06-22 23:13:18 +02:00
parent 80d5f13663
commit a37f6075d1
8 changed files with 478 additions and 283 deletions
+4 -4
View File
@@ -34,8 +34,8 @@ CustomRect {
implicitHeight: root.implicitHeight
spacing: Appearance.spacing.smaller
Ref {
service: SystemUsage
ServiceRef {
service: Gpu
}
ServiceRef {
@@ -70,7 +70,7 @@ CustomRect {
icon: "gamepad"
iconColor: root.visibilities.resources ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurface
mainColor: root.visibilities.resources ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3tertiary
percentage: SystemUsage.gpuPerc
percentage: Gpu.percentage
}
Resource {
@@ -78,7 +78,7 @@ CustomRect {
icon: "developer_board"
iconColor: root.visibilities.resources ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurface
mainColor: root.visibilities.resources ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3primary
percentage: SystemUsage.gpuMemUsed
percentage: Gpu.memoryUsed / Gpu.memoryTotal
}
}
}