aboutsummaryrefslogtreecommitdiff
path: root/modules/system/quickshell/MusicVisualizer.qml
diff options
context:
space:
mode:
authorLeander Scherer <leander@schererleander.de>2026-06-29 21:08:42 +0200
committerLeander Scherer <leander@schererleander.de>2026-06-29 21:22:33 +0200
commit67b7245bf96cf954d90719e800cf9618ffaa4feb (patch)
tree2723c3db278840150985cdc630487ff175d330d9 /modules/system/quickshell/MusicVisualizer.qml
parentd4fa3d0533c8dac688e38413403815de1802339e (diff)
chore: cleanup sway, quickshell
Diffstat (limited to 'modules/system/quickshell/MusicVisualizer.qml')
-rw-r--r--modules/system/quickshell/MusicVisualizer.qml36
1 files changed, 0 insertions, 36 deletions
diff --git a/modules/system/quickshell/MusicVisualizer.qml b/modules/system/quickshell/MusicVisualizer.qml
deleted file mode 100644
index f0c3227..0000000
--- a/modules/system/quickshell/MusicVisualizer.qml
+++ /dev/null
@@ -1,36 +0,0 @@
-import QtQuick
-
-Row {
- id: root
- property bool active: false
- property color color: Theme.accent
- spacing: 2
- height: 16
-
- Repeater {
- model: 4
- delegate: Rectangle {
- id: bar
- width: 3
- height: root.active ? 4 + Math.random() * (root.height - 4) : 4
- radius: 1.5
- color: root.color
-
- Timer {
- running: root.active
- interval: 100 + Math.random() * 200
- repeat: true
- onTriggered: {
- bar.height = 4 + Math.random() * (root.height - 4);
- }
- }
-
- Behavior on height {
- NumberAnimation {
- duration: 150
- easing.type: Easing.OutCubic
- }
- }
- }
- }
-}