forked from Shinonome/dots-hyprland
rename HSystemInfo to HResources
This commit is contained in:
@@ -7,7 +7,7 @@ JsonObject {
|
|||||||
property list<var> leftWidgets: ["HWindowInfo"]
|
property list<var> leftWidgets: ["HWindowInfo"]
|
||||||
property list<var> centerLeftWidgets: ["HTime"]
|
property list<var> centerLeftWidgets: ["HTime"]
|
||||||
property list<var> centerWidgets: ["HWorkspaces"]
|
property list<var> centerWidgets: ["HWorkspaces"]
|
||||||
property list<var> centerRightWidgets: ["HSystemInfo"]
|
property list<var> centerRightWidgets: ["HResources"]
|
||||||
property list<var> rightWidgets: []
|
property list<var> rightWidgets: []
|
||||||
property bool m3ExpressiveGrouping: true
|
property bool m3ExpressiveGrouping: true
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -51,9 +51,9 @@ HBarWidgetWithPopout {
|
|||||||
implicitWidth: contentGrid.implicitWidth + contentGrid.anchors.leftMargin + contentGrid.anchors.rightMargin
|
implicitWidth: contentGrid.implicitWidth + contentGrid.anchors.leftMargin + contentGrid.anchors.rightMargin
|
||||||
implicitHeight: contentGrid.implicitHeight + contentGrid.anchors.topMargin + contentGrid.anchors.bottomMargin
|
implicitHeight: contentGrid.implicitHeight + contentGrid.anchors.topMargin + contentGrid.anchors.bottomMargin
|
||||||
|
|
||||||
GridLayout {
|
W.BoxLayout {
|
||||||
id: contentGrid
|
id: contentGrid
|
||||||
columns: root.vertical ? 1 : -1
|
vertical: root.vertical
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
Battery {
|
Battery {
|
||||||
@@ -164,7 +164,7 @@ HBarWidgetWithPopout {
|
|||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
||||||
W.CircularProgress {
|
W.CircularProgress {
|
||||||
implicitSize: Math.max(notSoImportantBatteryStats.implicitHeight, 44)
|
implicitSize: 44
|
||||||
lineWidth: 3
|
lineWidth: 3
|
||||||
value: S.Battery.percentage
|
value: S.Battery.percentage
|
||||||
W.MaterialSymbol {
|
W.MaterialSymbol {
|
||||||
Reference in New Issue
Block a user