summaryrefslogtreecommitdiff
path: root/modules/bar/ActiveWindow.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-29 09:38:23 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-29 09:38:23 +1000
commit46e1127b66a435dc4ba4b8e3ce57715da24b7743 (patch)
treef0451a122d6234240e5688110f1b03133423352f /modules/bar/ActiveWindow.qml
parentrefactor: appearance fix typing (diff)
downloadcaelestia-shell-46e1127b66a435dc4ba4b8e3ce57715da24b7743.tar.gz
caelestia-shell-46e1127b66a435dc4ba4b8e3ce57715da24b7743.tar.bz2
caelestia-shell-46e1127b66a435dc4ba4b8e3ce57715da24b7743.zip
refactor: move bar components into folder
Diffstat (limited to 'modules/bar/ActiveWindow.qml')
-rw-r--r--modules/bar/ActiveWindow.qml34
1 files changed, 0 insertions, 34 deletions
diff --git a/modules/bar/ActiveWindow.qml b/modules/bar/ActiveWindow.qml
deleted file mode 100644
index 596c368..0000000
--- a/modules/bar/ActiveWindow.qml
+++ /dev/null
@@ -1,34 +0,0 @@
-import "root:/widgets"
-import "root:/services"
-import "root:/utils"
-import "root:/config"
-import QtQuick
-import QtQuick.Layouts
-
-BoxLayout {
- id: root
-
- readonly property color colour: Appearance.colours.pink
-
- padding: [Appearance.padding.smaller, 0]
- animated: true
- clip: true
-
- MaterialIcon {
- text: Icons.getAppCategoryIcon(Hyprland.activeClient?.class) ?? "desktop_windows"
- color: root.colour
-
- Layout.alignment: Layout.Center
- }
-
- Label {
- text: Hyprland.activeClient?.title ?? "Desktop"
- font.pointSize: Appearance.font.size.smaller
- font.family: Appearance.font.family.mono
- color: root.colour
- rotation: root.vertical ? 90 : 0
-
- Layout.alignment: Layout.Center
- Layout.maximumWidth: root.vertical ? this.implicitHeight : this.implicitWidth
- }
-}