summaryrefslogtreecommitdiff
path: root/modules/bar/ActiveWindow.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-28 13:21:04 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-28 13:21:04 +1000
commit7e532dbe850bf12a48b992d76efda3ce9f095875 (patch)
tree23f56419ecee2add2e4b4ec3e9147d7d386d1462 /modules/bar/ActiveWindow.qml
parentrefactor: no need for clippingbox (diff)
downloadcaelestia-shell-7e532dbe850bf12a48b992d76efda3ce9f095875.tar.gz
caelestia-shell-7e532dbe850bf12a48b992d76efda3ce9f095875.tar.bz2
caelestia-shell-7e532dbe850bf12a48b992d76efda3ce9f095875.zip
feat: bar workspaces
Diffstat (limited to 'modules/bar/ActiveWindow.qml')
-rw-r--r--modules/bar/ActiveWindow.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/bar/ActiveWindow.qml b/modules/bar/ActiveWindow.qml
index ced9714..596c368 100644
--- a/modules/bar/ActiveWindow.qml
+++ b/modules/bar/ActiveWindow.qml
@@ -10,6 +10,7 @@ BoxLayout {
readonly property color colour: Appearance.colours.pink
+ padding: [Appearance.padding.smaller, 0]
animated: true
clip: true
@@ -17,7 +18,7 @@ BoxLayout {
text: Icons.getAppCategoryIcon(Hyprland.activeClient?.class) ?? "desktop_windows"
color: root.colour
- Layout.alignment: Qt.AlignCenter
+ Layout.alignment: Layout.Center
}
Label {
@@ -27,7 +28,7 @@ BoxLayout {
color: root.colour
rotation: root.vertical ? 90 : 0
- Layout.alignment: Qt.AlignCenter
+ Layout.alignment: Layout.Center
Layout.maximumWidth: root.vertical ? this.implicitHeight : this.implicitWidth
}
}