summaryrefslogtreecommitdiff
path: root/modules/bar/popouts/ActiveWindow.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-02 16:31:26 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-02 16:31:26 +0800
commit24a3da813862623b3eec05ef5050ba715e08c684 (patch)
tree1674c1be77e48befe6e877b421f799deca6c4475 /modules/bar/popouts/ActiveWindow.qml
parentosd: fix text not updating during transition (diff)
downloadcaelestia-shell-24a3da813862623b3eec05ef5050ba715e08c684.tar.gz
caelestia-shell-24a3da813862623b3eec05ef5050ba715e08c684.tar.bz2
caelestia-shell-24a3da813862623b3eec05ef5050ba715e08c684.zip
feat: bar popouts
Create active window popout
Diffstat (limited to 'modules/bar/popouts/ActiveWindow.qml')
-rw-r--r--modules/bar/popouts/ActiveWindow.qml33
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/bar/popouts/ActiveWindow.qml b/modules/bar/popouts/ActiveWindow.qml
new file mode 100644
index 0000000..06ad52c
--- /dev/null
+++ b/modules/bar/popouts/ActiveWindow.qml
@@ -0,0 +1,33 @@
+
+
+import "root:/widgets"
+import "root:/services"
+import "root:/utils"
+import "root:/config"
+import Quickshell.Wayland
+import QtQuick
+
+Item {
+ id: root
+
+ implicitWidth: child.implicitWidth
+ implicitHeight: child.implicitHeight
+
+ Column {
+ id: child
+
+ anchors.centerIn: parent
+
+ StyledText {
+ text: Hyprland.activeClient?.title ?? ""
+ }
+
+ StyledText {
+ text: Hyprland.activeClient?.wmClass ?? ""
+ }
+
+ ScreencopyView {
+
+ }
+ }
+}