summaryrefslogtreecommitdiff
path: root/modules/windowinfo/WindowInfo.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-21 22:47:13 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-21 22:47:13 +1000
commit4a86b66d06dda958f8d136234225ed160604a61a (patch)
tree8dab0f695e035f26dccc2089ee4636c2b7b7ee2a /modules/windowinfo/WindowInfo.qml
parentpopouts: convert to layout (diff)
downloadcaelestia-shell-4a86b66d06dda958f8d136234225ed160604a61a.tar.gz
caelestia-shell-4a86b66d06dda958f8d136234225ed160604a61a.tar.bz2
caelestia-shell-4a86b66d06dda958f8d136234225ed160604a61a.zip
feat: window info panel
Also disable reload popup
Diffstat (limited to 'modules/windowinfo/WindowInfo.qml')
-rw-r--r--modules/windowinfo/WindowInfo.qml45
1 files changed, 45 insertions, 0 deletions
diff --git a/modules/windowinfo/WindowInfo.qml b/modules/windowinfo/WindowInfo.qml
new file mode 100644
index 0000000..9a5376a
--- /dev/null
+++ b/modules/windowinfo/WindowInfo.qml
@@ -0,0 +1,45 @@
+import "root:/widgets"
+import "root:/services"
+import "root:/config"
+import Quickshell
+import QtQuick
+import QtQuick.Layouts
+
+Item {
+ id: root
+
+ required property ShellScreen screen
+
+ implicitWidth: child.implicitWidth
+ implicitHeight: screen.height * Config.winfo.sizes.heightMult
+
+ RowLayout {
+ id: child
+
+ anchors.fill: parent
+ anchors.margins: Appearance.padding.large
+
+ spacing: Appearance.spacing.normal
+
+ Preview {
+ screen: root.screen
+ }
+
+ ColumnLayout {
+ spacing: Appearance.spacing.normal
+
+ Layout.preferredWidth: Config.winfo.sizes.detailsWidth
+ Layout.fillHeight: true
+
+ StyledRect {
+ Layout.fillWidth: true
+ Layout.fillHeight: true
+
+ color: Colours.palette.m3surfaceContainer
+ radius: Appearance.rounding.normal
+
+ Details {}
+ }
+ }
+ }
+}