import QtQuick import qs.HyprChrome.Widgets.Luna // Offscreen render of every voice-mode state, plus the disconnected one — // the states are the whole point of this widget, and a broken colour or a // collapsed meter is invisible in a screenshot of just one of them. // // ./tools/quickshell-preview/render.sh \ // tests/LunaIndicatorHeadless.qml \ // .artifacts/quickshell-preview/luna.png 300 620 Rectangle { width: 300 height: 620 color: "#1b1d20" Column { x: 20 y: 20 width: 260 spacing: 14 LunaIndicator { width: parent.width state: "idle" rms: 0.002 } LunaIndicator { width: parent.width state: "listening" rms: 0.08 userText: "hey luna, are you there" } LunaIndicator { width: parent.width state: "thinking" userText: "what's the time?" } LunaIndicator { width: parent.width state: "speaking" rms: 0.14 userText: "what's the time?" lunaText: "It's 22:25 on Sunday night, chief. Shouldn't you be asleep?" } LunaIndicator { width: parent.width state: "idle" connected: false } } }