From 0c7d782d1795af211b62b1517eb085867d048283 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 28 May 2025 10:40:56 +0800 Subject: dashboard: animate text Make run script use -p instead of -c so no need to install to ~/.config/quickshell/caelestia --- modules/dashboard/Media.qml | 3 +++ modules/dashboard/dash/Media.qml | 3 +++ 2 files changed, 6 insertions(+) (limited to 'modules/dashboard') diff --git a/modules/dashboard/Media.qml b/modules/dashboard/Media.qml index 40f32f1..4f4bc7e 100644 --- a/modules/dashboard/Media.qml +++ b/modules/dashboard/Media.qml @@ -146,6 +146,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter + animate: true horizontalAlignment: Text.AlignHCenter text: (Players.active?.trackTitle ?? qsTr("No media")) || qsTr("Unknown title") color: Colours.palette.m3primary @@ -160,6 +161,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter + animate: true horizontalAlignment: Text.AlignHCenter text: (Players.active?.trackAlbum ?? qsTr("No media")) || qsTr("Unknown album") color: Colours.palette.m3outline @@ -174,6 +176,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter + animate: true horizontalAlignment: Text.AlignHCenter text: (Players.active?.trackArtist ?? qsTr("No media")) || qsTr("Unknown artist") color: Colours.palette.m3secondary diff --git a/modules/dashboard/dash/Media.qml b/modules/dashboard/dash/Media.qml index 777c5e8..ec72d03 100644 --- a/modules/dashboard/dash/Media.qml +++ b/modules/dashboard/dash/Media.qml @@ -127,6 +127,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter anchors.topMargin: Appearance.spacing.normal + animate: true horizontalAlignment: Text.AlignHCenter text: (Players.active?.trackTitle ?? qsTr("No media")) || qsTr("Unknown title") color: Colours.palette.m3primary @@ -143,6 +144,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter anchors.topMargin: Appearance.spacing.small + animate: true horizontalAlignment: Text.AlignHCenter text: (Players.active?.trackAlbum ?? qsTr("No media")) || qsTr("Unknown album") color: Colours.palette.m3outline @@ -159,6 +161,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter anchors.topMargin: Appearance.spacing.small + animate: true horizontalAlignment: Text.AlignHCenter text: (Players.active?.trackArtist ?? qsTr("No media")) || qsTr("Unknown artist") color: Colours.palette.m3secondary -- cgit v1.2.3-freya