diff options
Diffstat (limited to 'services')
| -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])/); |