From 013e81f2ac4cec854a9192d40202ba350749dba2 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 29 Mar 2026 18:28:52 +0200 Subject: [PATCH] hefty: bar: adjust module spacings --- .../hefty/topLayer/bar/widgets/HLeftSidebarButton.qml | 5 +++-- .../ii/modules/hefty/topLayer/bar/widgets/HWorkspaces.qml | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HLeftSidebarButton.qml b/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HLeftSidebarButton.qml index 35f490619..d781ed553 100644 --- a/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HLeftSidebarButton.qml +++ b/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HLeftSidebarButton.qml @@ -37,12 +37,13 @@ HBarWidgetWithPopout { HBarWidgetContent { id: contentRoot + parentRadiusToPaddingRatio: 0 vertical: root.vertical atBottom: root.atBottom contentImplicitWidth: 14 contentImplicitHeight: 14 - implicitWidth: 24 - implicitHeight: 30 // note that vertical bar is more thicc than horizz + implicitWidth: 40 + implicitHeight: 46 showPopup: false onClicked: GlobalStates.sidebarLeftOpen = !GlobalStates.sidebarLeftOpen; diff --git a/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HWorkspaces.qml b/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HWorkspaces.qml index 71ac6ffe2..de4c2c119 100644 --- a/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HWorkspaces.qml +++ b/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HWorkspaces.qml @@ -13,9 +13,15 @@ import Quickshell.Hyprland import ".." HBarWidgetContainer { + id: containerRoot ButtonMouseArea { id: root + Layout.topMargin: (5 + 5 * containerRoot.startSide) * containerRoot.vertical + Layout.bottomMargin: (5 + 5 * containerRoot.endSide) * containerRoot.vertical + Layout.leftMargin: (3 + 4 * containerRoot.startSide) * !containerRoot.vertical + Layout.rightMargin: (3 + 4 * containerRoot.endSide) * !containerRoot.vertical + readonly property HyprlandMonitor monitor: Hyprland.monitorFor(root.QsWindow.window?.screen) WorkspaceModel { id: wsModel