dashboard: animate text

Make run script use -p instead of -c so no need to install to ~/.config/quickshell/caelestia
This commit is contained in:
2 * r + 2 * t 2025-05-28 10:40:56 +08:00
parent 67cc257960
commit 0c7d782d17
3 changed files with 7 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -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