hefty: bar: add system tray

This commit is contained in:
end-4
2026-03-22 20:54:44 +01:00
parent 12d510e9eb
commit 30583abf36
6 changed files with 163 additions and 9 deletions
@@ -8,7 +8,7 @@ JsonObject {
property list<var> centerLeftWidgets: ["HTime"]
property list<var> centerWidgets: ["HWorkspaces"]
property list<var> centerRightWidgets: ["HResources"]
property list<var> rightWidgets: ["HSystemIndicators"]
property list<var> rightWidgets: ["HSystemTray", "HSystemIndicators"]
property bool m3ExpressiveGrouping: true
property JsonObject resources: JsonObject {
@@ -9,9 +9,10 @@ GridLayout {
property real totalDuration: 250
property real interval: totalDuration / count
default property list<QtObject> choreographableChildren
property list<QtObject> choreographableChildren: children.filter(c => {
return c.hasOwnProperty("progress")
})
readonly property int count: choreographableChildren.length
children: choreographableChildren
property bool shown: false
onShownChanged: {