diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-27 21:46:24 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-27 21:46:24 +1000 |
| commit | bed6f7c5d5cd8f371524176c1fc7a55fe7ecc9bb (patch) | |
| tree | 0853ca45f51e2c7f688f6ad8d62e18c953e9ef04 /modules/windowinfo/WindowInfo.qml | |
| parent | internal: use hyprlandtoplevel (diff) | |
| download | caelestia-shell-bed6f7c5d5cd8f371524176c1fc7a55fe7ecc9bb.tar.gz caelestia-shell-bed6f7c5d5cd8f371524176c1fc7a55fe7ecc9bb.tar.bz2 caelestia-shell-bed6f7c5d5cd8f371524176c1fc7a55fe7ecc9bb.zip | |
internal: windowinfo pass in client
So it can be used for clients other than the active one
Also fix text below screencopyview
Diffstat (limited to 'modules/windowinfo/WindowInfo.qml')
| -rw-r--r-- | modules/windowinfo/WindowInfo.qml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/windowinfo/WindowInfo.qml b/modules/windowinfo/WindowInfo.qml index 32b21e4..8ac94ef 100644 --- a/modules/windowinfo/WindowInfo.qml +++ b/modules/windowinfo/WindowInfo.qml @@ -2,6 +2,7 @@ import "root:/widgets" import "root:/services" import "root:/config" import Quickshell +import Quickshell.Hyprland import QtQuick import QtQuick.Layouts @@ -9,6 +10,7 @@ Item { id: root required property ShellScreen screen + required property HyprlandToplevel client implicitWidth: child.implicitWidth implicitHeight: screen.height * Config.winfo.sizes.heightMult @@ -23,6 +25,7 @@ Item { Preview { screen: root.screen + client: root.client } ColumnLayout { @@ -38,7 +41,9 @@ Item { color: Colours.palette.m3surfaceContainer radius: Appearance.rounding.normal - Details {} + Details { + client: root.client + } } StyledRect { @@ -50,6 +55,8 @@ Item { Buttons { id: buttons + + client: root.client } } } |