diff options
Diffstat (limited to 'home-configuration/config/quickshell/modules/bar/Workspaces.qml')
| -rw-r--r-- | home-configuration/config/quickshell/modules/bar/Workspaces.qml | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/home-configuration/config/quickshell/modules/bar/Workspaces.qml b/home-configuration/config/quickshell/modules/bar/Workspaces.qml index 3962a63..c9c8104 100644 --- a/home-configuration/config/quickshell/modules/bar/Workspaces.qml +++ b/home-configuration/config/quickshell/modules/bar/Workspaces.qml @@ -141,17 +141,25 @@ Rectangle { } } - Text { - anchors.centerIn: parent + Item { + anchors.fill: parent + + Text { + anchors.fill: parent + + text: index - text: index - color: model.isActive - ? Config.textDark - : Config.textInactive + color: model.isActive + ? Config.textDark + : Config.textInactive - font.family: Config.fontFamily - font.pixelSize: Config.fontSize - font.bold: true + font.family: Config.fontFamily + font.pixelSize: Config.fontSize + font.bold: true + + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } } MouseArea { |
