diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-18 15:28:27 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-18 15:28:27 +0800 |
| commit | a5ca54bf82609aab218b7ce2817147a462d1e5b2 (patch) | |
| tree | c1b28ac9b320533562f58483e13e61fb4d019d77 /bar | |
| parent | 9f3d3d8f216db72269dd59f002d4d23dd21dc75b (diff) | |
mpris: use app icon if no trackarturl
transparent bg too
Diffstat (limited to 'bar')
| -rw-r--r-- | bar/Mpris.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bar/Mpris.qml b/bar/Mpris.qml index a97685b..1357754 100644 --- a/bar/Mpris.qml +++ b/bar/Mpris.qml @@ -123,9 +123,10 @@ Item { id: image anchors.fill: parent radius: 6 + color: "transparent" IconImage { anchors.fill: parent - source: activePlayer?.trackArtUrl || "" + source: activePlayer?.trackArtUrl || Quickshell.iconPath(AppSearch.guessIcon(activePlayer.desktopEntry), "image-missing") antialiasing: true asynchronous: true } |
