internal: add env for beat detector path

This commit is contained in:
2 * r + 2 * t 2025-06-25 00:17:52 +10:00
parent 9c0223da60
commit ad93617ee8

View file

@ -10,7 +10,7 @@ Singleton {
Process {
running: true
command: ["/usr/lib/caelestia/beat_detector", "--no-log", "--no-stats", "--no-visual"]
command: [Quickshell.env("CAELESTIA_BD_PATH") || "/usr/lib/caelestia/beat_detector", "--no-log", "--no-stats", "--no-visual"]
stdout: SplitParser {
onRead: data => {
const match = data.match(/BPM: ([0-9]+\.[0-9])/);