- TTS defaults to eleven_v3_conversational over the Text to Dialogue socket: performs audio tags and gets her German right. Flash still works via the TTS socket. - Every spoken message is prefixed with a [voice] marker so luna's profile on mars can tell the channel apart. - LunaIndicator/LunaCall replaced by a LunaPanel in the bar rail, with captions; headless test updated to match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
91 lines
2.2 KiB
QML
91 lines
2.2 KiB
QML
import QtQuick
|
|
import qs.HyprChrome.Widgets.Bar.Luna
|
|
|
|
// The rail's luna panel in both densities and every daemon state. Collapsed
|
|
// is the left column (state only), expanded the right (messages) — the two
|
|
// things the panel has to get right, side by side.
|
|
//
|
|
// ./tools/quickshell-preview/render.sh \
|
|
// tests/LunaPanelHeadless.qml \
|
|
// .artifacts/quickshell-preview/luna-panel.png 640 560
|
|
Rectangle {
|
|
width: 640
|
|
height: 560
|
|
color: "#0f1012"
|
|
|
|
Row {
|
|
x: 16
|
|
y: 16
|
|
spacing: 24
|
|
|
|
Column {
|
|
spacing: 12
|
|
|
|
LunaPanel {
|
|
expanded: false
|
|
connected: true
|
|
active: false
|
|
daemonState: "idle"
|
|
}
|
|
|
|
LunaPanel {
|
|
expanded: false
|
|
connected: true
|
|
active: true
|
|
daemonState: "listening"
|
|
rms: 0.02
|
|
}
|
|
|
|
LunaPanel {
|
|
expanded: false
|
|
connected: true
|
|
active: true
|
|
daemonState: "thinking"
|
|
}
|
|
|
|
LunaPanel {
|
|
expanded: false
|
|
connected: true
|
|
active: true
|
|
daemonState: "speaking"
|
|
rms: 0.05
|
|
}
|
|
|
|
LunaPanel {
|
|
expanded: false
|
|
connected: false
|
|
}
|
|
}
|
|
|
|
Column {
|
|
spacing: 12
|
|
|
|
LunaPanel {
|
|
expanded: true
|
|
connected: true
|
|
active: false
|
|
daemonState: "idle"
|
|
}
|
|
|
|
LunaPanel {
|
|
expanded: true
|
|
connected: true
|
|
active: true
|
|
daemonState: "listening"
|
|
rms: 0.02
|
|
userText: "hey luna, what's the time?"
|
|
}
|
|
|
|
LunaPanel {
|
|
expanded: true
|
|
connected: true
|
|
active: true
|
|
daemonState: "speaking"
|
|
rms: 0.05
|
|
userText: "hey luna, what's the time?"
|
|
lunaText: "It's 23:40 on Sunday night, chief. Shouldn't you be asleep?"
|
|
}
|
|
}
|
|
}
|
|
}
|