diff options
Diffstat (limited to 'modules/bar/ActiveWindow.qml')
| -rw-r--r-- | modules/bar/ActiveWindow.qml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/bar/ActiveWindow.qml b/modules/bar/ActiveWindow.qml index f65a83f..f351534 100644 --- a/modules/bar/ActiveWindow.qml +++ b/modules/bar/ActiveWindow.qml @@ -5,17 +5,19 @@ import "root:/config" import QtQuick import QtQuick.Layouts -Box { +ClippingBoxLayout { id: root - property color colour: Appearance.colours.pink + readonly property color colour: Appearance.colours.pink + + animated: true MaterialIcon { Layout.alignment: Qt.AlignCenter - text: Icons.getAppCategoryIcon(Hyprland.activeClient?.wmClass) ?? "desktop_windows" + text: Icons.getAppCategoryIcon(Hyprland.activeClient?.class) ?? "desktop_windows" color: root.colour } - Text { + Label { Layout.alignment: Qt.AlignCenter text: Hyprland.activeClient?.title ?? "Desktop" |