nosignal-shell/modules/bar/popouts/Wrapper.qml
2 * r + 2 * t 5bd740abe7 bar: save cpu usage
Stop window preview when not visible
2025-06-03 13:29:11 +08:00

21 lines
365 B
QML

import "root:/services"
import "root:/config"
import Quickshell
import QtQuick
Item {
id: root
required property ShellScreen screen
visible: width > 0 && height > 0
implicitWidth: content.implicitWidth
implicitHeight: content.implicitHeight + BorderConfig.rounding * 2
Content {
id: content
screen: root.screen
}
}