pragma Singleton import Quickshell import Quickshell.Io import QtQuick Singleton { id: root property var heights Process { command: ["cava", "-p", "/home/samn/.config/quickshell/cava.ini"] running: true stdout: SplitParser { onRead: line => { root.heights = line.substring(0, line.length - 1).split(';').map(x => parseInt(x)) } } } }