import QtQuick import QtQuick.Layouts import Quickshell PanelWindow { id: panel required property QtObject theme // Diagnostics deliberately floats below the real bar. It proves theme loading // and IPC without stealing exclusive screen space from Ironbar during rollout. anchors { top: true; left: true } margins { top: 36; left: 10 } exclusiveZone: -1 implicitWidth: 360 implicitHeight: 96 color: "transparent" Rectangle { anchors.fill: parent radius: 7 color: `${panel.theme.ui.backdrop}ee` border.width: 2 border.color: panel.theme.ui.accent ColumnLayout { anchors.fill: parent anchors.margins: 12 spacing: 6 Text { Layout.fillWidth: true text: `Quickshell Nugu ยท ${panel.theme.mode}` color: panel.theme.ui.important_global font.family: "IBM Plex Mono" font.pixelSize: 13 font.bold: true elide: Text.ElideRight } RowLayout { Layout.fillWidth: true spacing: 8 // Swatches make theme regressions obvious in screenshots and give // a fast contrast sanity check before widgets are built. Repeater { model: [ panel.theme.ui.backdrop, panel.theme.ui.normal, panel.theme.ui.accent, panel.theme.ui.focus, panel.theme.warning, panel.theme.error, panel.theme.info ] Rectangle { required property string modelData Layout.preferredWidth: 34 Layout.preferredHeight: 22 radius: 4 color: modelData border.width: 1 border.color: panel.theme.ui.unfocus } } } Text { Layout.fillWidth: true text: "IPC: qs ipc -c nugu call nugu toggleDiagnostics" color: panel.theme.ui.minor font.family: "IBM Plex Mono" font.pixelSize: 11 elide: Text.ElideRight } } } }