From ff1dfedc72d340550f0b568fe6c1807b54ecfe3a Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Mon, 9 Mar 2026 23:28:14 +0100 Subject: [PATCH] rename HSystemInfo to HResources --- .../quickshell/ii/modules/common/config/HeftyConfig.qml | 2 +- .../bar/widgets/{HSystemInfo.qml => HResources.qml} | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/{HSystemInfo.qml => HResources.qml} (98%) diff --git a/dots/.config/quickshell/ii/modules/common/config/HeftyConfig.qml b/dots/.config/quickshell/ii/modules/common/config/HeftyConfig.qml index efe35cf33..6284263d0 100644 --- a/dots/.config/quickshell/ii/modules/common/config/HeftyConfig.qml +++ b/dots/.config/quickshell/ii/modules/common/config/HeftyConfig.qml @@ -7,7 +7,7 @@ JsonObject { property list leftWidgets: ["HWindowInfo"] property list centerLeftWidgets: ["HTime"] property list centerWidgets: ["HWorkspaces"] - property list centerRightWidgets: ["HSystemInfo"] + property list centerRightWidgets: ["HResources"] property list rightWidgets: [] property bool m3ExpressiveGrouping: true } diff --git a/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HSystemInfo.qml b/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HResources.qml similarity index 98% rename from dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HSystemInfo.qml rename to dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HResources.qml index a07026371..0399c530d 100644 --- a/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HSystemInfo.qml +++ b/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HResources.qml @@ -51,9 +51,9 @@ HBarWidgetWithPopout { implicitWidth: contentGrid.implicitWidth + contentGrid.anchors.leftMargin + contentGrid.anchors.rightMargin implicitHeight: contentGrid.implicitHeight + contentGrid.anchors.topMargin + contentGrid.anchors.bottomMargin - GridLayout { + W.BoxLayout { id: contentGrid - columns: root.vertical ? 1 : -1 + vertical: root.vertical anchors.fill: parent Battery { @@ -164,7 +164,7 @@ HBarWidgetWithPopout { width: parent.width W.CircularProgress { - implicitSize: Math.max(notSoImportantBatteryStats.implicitHeight, 44) + implicitSize: 44 lineWidth: 3 value: S.Battery.percentage W.MaterialSymbol {