mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 07:19:27 -05:00
hefty: bar: adjust module spacings
This commit is contained in:
+3
-2
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user