diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-02 21:57:59 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-02 21:57:59 +1000 |
| commit | 4f816e0abf00682c45a4a6dbd3301067233e7bd4 (patch) | |
| tree | a1bec061a21d18eaa1478216a803883c47975745 /modules/bar/popouts/Content.qml | |
| parent | dashboard: fix performance gpu stats (diff) | |
| download | caelestia-shell-4f816e0abf00682c45a4a6dbd3301067233e7bd4.tar.gz caelestia-shell-4f816e0abf00682c45a4a6dbd3301067233e7bd4.tar.bz2 caelestia-shell-4f816e0abf00682c45a4a6dbd3301067233e7bd4.zip | |
bar: add preview to activewindow popout
Diffstat (limited to 'modules/bar/popouts/Content.qml')
| -rw-r--r-- | modules/bar/popouts/Content.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/bar/popouts/Content.qml b/modules/bar/popouts/Content.qml index be45eac..c10348c 100644 --- a/modules/bar/popouts/Content.qml +++ b/modules/bar/popouts/Content.qml @@ -1,7 +1,6 @@ import "root:/services" import "root:/config" import Quickshell -import Quickshell.Widgets import QtQuick Item { @@ -13,7 +12,6 @@ Item { implicitWidth: Popouts.hasCurrent ? content.children.find(c => c.shouldBeActive).implicitWidth + Appearance.padding.large * 2 : 0 implicitHeight: Popouts.hasCurrent ? content.children.find(c => c.shouldBeActive).implicitHeight + Appearance.padding.large * 2 : 0 - clip: true Item { id: content @@ -47,6 +45,9 @@ Item { required property string name property bool shouldBeActive: Popouts.currentName === name + anchors.verticalCenter: parent.verticalCenter + anchors.right: parent.right + active: shouldBeActive asynchronous: true |