diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-28 10:40:56 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-28 10:40:56 +0800 |
| commit | 0c7d782d1795af211b62b1517eb085867d048283 (patch) | |
| tree | 0e6dcbce33efd7d459fa44ac12c8c4740ef0d5d7 /modules/dashboard | |
| parent | drawers: fix interactions area (diff) | |
| download | caelestia-shell-0c7d782d1795af211b62b1517eb085867d048283.tar.gz caelestia-shell-0c7d782d1795af211b62b1517eb085867d048283.tar.bz2 caelestia-shell-0c7d782d1795af211b62b1517eb085867d048283.zip | |
dashboard: animate text
Make run script use -p instead of -c so no need to install to ~/.config/quickshell/caelestia
Diffstat (limited to 'modules/dashboard')
| -rw-r--r-- | modules/dashboard/Media.qml | 3 | ||||
| -rw-r--r-- | modules/dashboard/dash/Media.qml | 3 |
2 files changed, 6 insertions, 0 deletions
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 |