forked from Shinonome/dots-hyprland
hefty: bar: add system tray
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user