systemd: fetch remotes via busctl --host, applet-open gating, error states (step 4)

This commit is contained in:
Damocles 2026-05-07 20:24:25 +02:00
commit 2ab2af8a23
4 changed files with 302 additions and 34 deletions

View file

@ -13,6 +13,9 @@ Column {
onHeightChanged: root.contentResized()
Component.onCompleted: NS.SystemdService.setAppletOpen(true)
Component.onDestruction: NS.SystemdService.setAppletOpen(false)
Repeater {
model: S.SystemdService.machines
@ -37,6 +40,9 @@ Column {
totalCount: _row.modelData.totalCount ?? 0
failedUnits: _row.modelData.failedUnits ?? []
runningUnits: _row.modelData.runningUnits ?? []
errorKind: _row.modelData.errorKind ?? ""
errorReason: _row.modelData.errorReason ?? ""
lastSeen: _row.modelData.lastSeen ?? 0
onContentResized: root.contentResized()
}
}