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