From 006697b768321664650d98b9005c0cbf98821f15 Mon Sep 17 00:00:00 2001 From: voidarc Date: Sun, 9 Aug 2026 17:06:09 +0100 Subject: [PATCH] hover for mpris working --- Bar/Time.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Bar/Time.qml b/Bar/Time.qml index 56c569d..54fb987 100644 --- a/Bar/Time.qml +++ b/Bar/Time.qml @@ -55,14 +55,14 @@ Container { when: root.hovered == true && root.overriden == false PropertyChanges { - root.boxHeight: 32 + root.boxHeight: MprisManager.getPlaying() == false ? 32 : root.mprisHeight root.boxRadius: 12 - root.boxWidth: 107 + root.boxWidth: MprisManager.getPlaying() == false ? 107 : root.mprisWidth } StateChangeScript { script: { - root.stack.replace(time); + root.stack.replace(MprisManager.getPlaying() == true ? mprisToast : time); } } }, @@ -144,7 +144,7 @@ Container { Timer { id: mprisTimer - interval: 2000 + interval: 3000 repeat: false running: false