nosignal-shell/services/BeatDetector.qml
2 * r + 2 * t 2a5b49f693 internal: change beatdetector path
For install via pkgbuild
2025-06-15 17:14:48 +10:00

18 lines
301 B
QML

pragma Singleton
import Quickshell
import Quickshell.Io
Singleton {
id: root
property real bpm
Process {
running: true
command: ["/usr/lib/caelestia/beat_detector"]
stdout: SplitParser {
onRead: data => root.bpm = parseFloat(data)
}
}
}