From 2c6ae8a4287ffad33a8c41b08ef47b62494a67dd Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Wed, 14 Jan 2026 14:47:59 -0500 Subject: Add quickshell config --- .config/quickshell/Cava.qml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .config/quickshell/Cava.qml (limited to '.config/quickshell/Cava.qml') diff --git a/.config/quickshell/Cava.qml b/.config/quickshell/Cava.qml new file mode 100644 index 0000000..2067a11 --- /dev/null +++ b/.config/quickshell/Cava.qml @@ -0,0 +1,20 @@ +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)) + } + } + } +} -- cgit v1.2.3