From d2747e2ca1e211a32e91e44010f40a00e0ac97e4 Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Sat, 30 May 2026 15:35:27 +0200 Subject: feat(quickshell): add popup controls and privacy indicators --- modules/system/quickshell/MusicVisualizer.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'modules/system/quickshell/MusicVisualizer.qml') diff --git a/modules/system/quickshell/MusicVisualizer.qml b/modules/system/quickshell/MusicVisualizer.qml index e136304..f0c3227 100644 --- a/modules/system/quickshell/MusicVisualizer.qml +++ b/modules/system/quickshell/MusicVisualizer.qml @@ -1,7 +1,5 @@ import QtQuick -// iOS-style animated music visualizer bars. -// Simulates audio reactivity by randomly changing bar heights when active. Row { id: root property bool active: false @@ -23,12 +21,15 @@ Row { interval: 100 + Math.random() * 200 repeat: true onTriggered: { - bar.height = 4 + Math.random() * (root.height - 4) + bar.height = 4 + Math.random() * (root.height - 4); } } Behavior on height { - NumberAnimation { duration: 150; easing.type: Easing.OutCubic } + NumberAnimation { + duration: 150 + easing.type: Easing.OutCubic + } } } } -- cgit v1.3.1