diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-27 14:43:14 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-27 14:43:14 +1000 |
| commit | f1dc78d1542e5229f81549ae06f066bc2855441a (patch) | |
| tree | 8bb203ec007647e70f901847d1999206ba148cf0 /services/BeatDetector.qml | |
| parent | nix: update for new build (diff) | |
| download | caelestia-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/BeatDetector.qml')
| -rw-r--r-- | services/BeatDetector.qml | 3 |
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])/); |