From e1caf737fef90468985b6e74c46b99401c85363f Mon Sep 17 00:00:00 2001 From: ly-sec Date: Mon, 14 Jul 2025 21:16:34 +0200 Subject: [PATCH] Revert "Fix Cava" This reverts commit b3d4fc350de626de06bd58e91d33b5614035002a. --- Components/Cava.qml | 2 -- Widgets/Sidebar/Panel/Music.qml | 1 - 2 files changed, 3 deletions(-) diff --git a/Components/Cava.qml b/Components/Cava.qml index f08ca30..0e9f7d9 100644 --- a/Components/Cava.qml +++ b/Components/Cava.qml @@ -20,7 +20,6 @@ Scope { } }) property var values: Array(count).fill(0) // 0 <= value <= 1 - property bool running: true // Controls whether cava is active onConfigChanged: { process.running = false @@ -32,7 +31,6 @@ Scope { id: process stdinEnabled: true command: ["cava", "-p", "/dev/stdin"] - running: root.running // Bind process running to the new property onExited: { stdinEnabled = true; index = 0 } onStarted: { const iniParts = [] diff --git a/Widgets/Sidebar/Panel/Music.qml b/Widgets/Sidebar/Panel/Music.qml index f4f6ae3..ef5a215 100644 --- a/Widgets/Sidebar/Panel/Music.qml +++ b/Widgets/Sidebar/Panel/Music.qml @@ -406,6 +406,5 @@ Rectangle { Cava { id: cava count: 64 - running: currentPlayer && currentPlayer.isPlaying } } \ No newline at end of file