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 +++ run.fish | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) 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 diff --git a/run.fish b/run.fish index 0eb886e..c2f0847 100755 --- a/run.fish +++ b/run.fish @@ -5,4 +5,4 @@ set -l notifs 'quickshell.service.notifications.warning = false' # Notification set -l sni 'quickshell.service.sni.host.warning = false' # StatusNotifierItem warnings on reload set -l process 'QProcess: Destroyed while process' # Long running processes on reload -qs -c caelestia --log-rules "$dbus;$notifs;$sni" | grep -vE -e $process +qs -p (dirname (status filename)) --log-rules "$dbus;$notifs;$sni" | grep -vE -e $process -- cgit v1.2.3-freya