diff options
Diffstat (limited to 'bar')
| -rw-r--r-- | bar/Mpris.qml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bar/Mpris.qml b/bar/Mpris.qml index a2895aa..f09076d 100644 --- a/bar/Mpris.qml +++ b/bar/Mpris.qml @@ -97,7 +97,7 @@ Item { width: Bar.appIconSize height: Bar.appIconSize - opacity: activePlayer.playbackState === MprisPlaybackState.Playing ? 1 : Bar.mediaPausedOpacity * 1.1 + opacity: activePlayer.playbackState === MprisPlaybackState.Playing ? 1 : Bar.mediaPausedOpacity // put shadow Image { @@ -133,6 +133,7 @@ Item { IText { animate: true opacity: activePlayer.playbackState === MprisPlaybackState.Playing ? 1 : Bar.mediaPausedOpacity + color: activePlayer.playbackState === MprisPlaybackState.Playing ? WallustColors.foreground : WallustColors.color15 text: root.cleanedTitle Behavior on opacity { @@ -141,6 +142,13 @@ Item { easing.type: Easing.InOutQuad } } + + Behavior on color { + ColorAnimation { + duration: General.animateDuration / 4 + easing.type: Easing.InOutQuad + } + } } } } |
