summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-27 14:43:14 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-27 14:43:14 +1000
commitf1dc78d1542e5229f81549ae06f066bc2855441a (patch)
tree8bb203ec007647e70f901847d1999206ba148cf0 /services
parentnix: update for new build (diff)
downloadcaelestia-shell-f1dc78d1542e5229f81549ae06f066bc2855441a.tar.gz
caelestia-shell-f1dc78d1542e5229f81549ae06f066bc2855441a.tar.bz2
caelestia-shell-f1dc78d1542e5229f81549ae06f066bc2855441a.zip
paths: use unified env var for lib dir
CAELESTIA_BD_PATH -> CAELESTIA_LIB_DIR/beat_detector
Diffstat (limited to 'services')
-rw-r--r--services/BeatDetector.qml3
1 files changed, 2 insertions, 1 deletions
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])/);