import QtQuick import QtQuick.Window import org.kde.layershell 1.0 as LayerShell import Nebula.UI Window { id: root readonly property int outputWidth: OutputTracker.width > 0 ? OutputTracker.width : (screen && screen.width > 0 ? screen.width : Screen.width) title: qsTr("Nebula Top Bar") color: "transparent" flags: Qt.FramelessWindowHint | Qt.WindowDoesNotAcceptFocus visible: true width: outputWidth height: Theme.topBarHeight LayerShell.Window.scope: "nebula-topbar" LayerShell.Window.layer: LayerShell.Window.LayerTop LayerShell.Window.anchors: LayerShell.Window.AnchorTop | LayerShell.Window.AnchorLeft | LayerShell.Window.AnchorRight LayerShell.Window.exclusionZone: Theme.topBarHeight LayerShell.Window.keyboardInteractivity: LayerShell.Window.KeyboardInteractivityNone TopBar { anchors.fill: parent } }