nix/nixos/desktop/quickshell/ui/Rank.qml
Markus Zoppelt 9dfd666e12 feat: add NVIDIA gauges to sysinfo
Show compute, power, VRAM, encoder, and decoder as equal dials.
Drop spark history charts.
2026-08-22 17:02:14 +02:00

28 lines
648 B
QML

import QtQuick
import ".."
Well {
id: root
property string title: ""
property var rows: []
property int slots: 0
Section {
title: root.title
ink: root.ink
spacing: 6
Repeater {
model: root.slots > 0 ? root.slots : root.rows
StatRow {
required property var modelData
required property int index
readonly property var row: root.slots > 0 ? (root.rows[index] || {}) : modelData
label: row.name || "—"
value: row.value || "—"
ink: root.ink
}
}
}
}