forked from Shinonome/dots-hyprland
hefty: bar: adjust module spacings
This commit is contained in:
+3
-2
@@ -37,12 +37,13 @@ HBarWidgetWithPopout {
|
|||||||
|
|
||||||
HBarWidgetContent {
|
HBarWidgetContent {
|
||||||
id: contentRoot
|
id: contentRoot
|
||||||
|
parentRadiusToPaddingRatio: 0
|
||||||
vertical: root.vertical
|
vertical: root.vertical
|
||||||
atBottom: root.atBottom
|
atBottom: root.atBottom
|
||||||
contentImplicitWidth: 14
|
contentImplicitWidth: 14
|
||||||
contentImplicitHeight: 14
|
contentImplicitHeight: 14
|
||||||
implicitWidth: 24
|
implicitWidth: 40
|
||||||
implicitHeight: 30 // note that vertical bar is more thicc than horizz
|
implicitHeight: 46
|
||||||
showPopup: false
|
showPopup: false
|
||||||
onClicked: GlobalStates.sidebarLeftOpen = !GlobalStates.sidebarLeftOpen;
|
onClicked: GlobalStates.sidebarLeftOpen = !GlobalStates.sidebarLeftOpen;
|
||||||
|
|
||||||
|
|||||||
@@ -13,9 +13,15 @@ import Quickshell.Hyprland
|
|||||||
import ".."
|
import ".."
|
||||||
|
|
||||||
HBarWidgetContainer {
|
HBarWidgetContainer {
|
||||||
|
id: containerRoot
|
||||||
ButtonMouseArea {
|
ButtonMouseArea {
|
||||||
id: root
|
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)
|
readonly property HyprlandMonitor monitor: Hyprland.monitorFor(root.QsWindow.window?.screen)
|
||||||
WorkspaceModel {
|
WorkspaceModel {
|
||||||
id: wsModel
|
id: wsModel
|
||||||
|
|||||||
Reference in New Issue
Block a user