diff options
Diffstat (limited to 'modules/bar')
| -rw-r--r-- | modules/bar/components/StatusIcons.qml | 8 | ||||
| -rw-r--r-- | modules/bar/components/workspaces/Workspace.qml | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/modules/bar/components/StatusIcons.qml b/modules/bar/components/StatusIcons.qml index c260cc6..540f041 100644 --- a/modules/bar/components/StatusIcons.qml +++ b/modules/bar/components/StatusIcons.qml @@ -35,7 +35,7 @@ Item { anchors.horizontalCenter: network.horizontalCenter anchors.top: network.bottom - anchors.topMargin: Appearance.spacing.small + anchors.topMargin: Appearance.spacing.smaller / 2 animate: true text: Bluetooth.powered ? "bluetooth" : "bluetooth_disabled" @@ -47,7 +47,9 @@ Item { anchors.horizontalCenter: bluetooth.horizontalCenter anchors.top: bluetooth.bottom - anchors.topMargin: Appearance.spacing.small + anchors.topMargin: Appearance.spacing.smaller / 2 + + spacing: Appearance.spacing.smaller / 2 Repeater { id: repeater @@ -72,7 +74,7 @@ Item { anchors.horizontalCenter: devices.horizontalCenter anchors.top: repeater.count > 0 ? devices.bottom : bluetooth.bottom - anchors.topMargin: Appearance.spacing.small + anchors.topMargin: Appearance.spacing.smaller / 2 animate: true text: { diff --git a/modules/bar/components/workspaces/Workspace.qml b/modules/bar/components/workspaces/Workspace.qml index e50f65c..dba0f86 100644 --- a/modules/bar/components/workspaces/Workspace.qml +++ b/modules/bar/components/workspaces/Workspace.qml @@ -15,7 +15,7 @@ Item { readonly property bool isWorkspace: true // Flag for finding workspace children // Unanimated prop for others to use as reference - readonly property real size: childrenRect.height + (hasWindows ? Appearance.padding.normal : 0) + readonly property real size: childrenRect.height + (hasWindows ? Appearance.padding.smaller : 0) readonly property int ws: groupOffset + index + 1 readonly property bool isOccupied: occupied[ws] ?? false @@ -49,9 +49,10 @@ Item { anchors.horizontalCenter: indicator.horizontalCenter anchors.top: indicator.bottom + anchors.topMargin: -Config.bar.sizes.innerHeight / 10 sourceComponent: Column { - spacing: Appearance.spacing.small + spacing: 0 add: Transition { Anim { @@ -81,6 +82,7 @@ Item { MaterialIcon { required property Hyprland.Client modelData + grade: 0 text: Icons.getAppCategoryIcon(modelData.wmClass, "terminal") color: Colours.palette.m3onSurfaceVariant } |