From f1dc78d1542e5229f81549ae06f066bc2855441a Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 27 Aug 2025 14:43:14 +1000 Subject: paths: use unified env var for lib dir CAELESTIA_BD_PATH -> CAELESTIA_LIB_DIR/beat_detector --- services/BeatDetector.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'services') diff --git a/services/BeatDetector.qml b/services/BeatDetector.qml index 76a0fe2..24e19ec 100644 --- a/services/BeatDetector.qml +++ b/services/BeatDetector.qml @@ -1,5 +1,6 @@ pragma Singleton +import qs.utils import Quickshell import Quickshell.Io @@ -10,7 +11,7 @@ Singleton { Process { running: true - command: [Quickshell.env("CAELESTIA_BD_PATH") || "/usr/lib/caelestia/beat_detector", "--no-log", "--no-stats", "--no-visual"] + command: [`${Paths.libdir}/beat_detector`, "--no-log", "--no-stats", "--no-visual"] stdout: SplitParser { onRead: data => { const match = data.match(/BPM: ([0-9]+\.[0-9])/); -- cgit v1.2.3-freya