WIP cava process

This commit is contained in:
Sem
2026-04-10 23:58:23 +02:00
parent 9f5eb82fe1
commit 7bcd3220dd
3 changed files with 45 additions and 4 deletions

View File

@@ -0,0 +1,26 @@
import QtQuick
import Quickshell
import Quickshell.Io
Item {
id: root
signal cavaDataChanged(string data)
// Process {
// id: cavaProcess
// command: ["cat", "/tmp/cava.fifo"]
// stdout: StdioCollector {
// waitForEnd: false
// onStreamFinished: {
// console.log("Cava data: " + this.text)
// root.cavaDataChanged(this.text)
// }
// }
// }
Component.onCompleted: {
cavaProcess.running = true
}
}