summaryrefslogtreecommitdiff
path: root/modules/bar.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bar.tsx')
-rw-r--r--modules/bar.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bar.tsx b/modules/bar.tsx
index b97d4af..b8e9f0b 100644
--- a/modules/bar.tsx
+++ b/modules/bar.tsx
@@ -81,8 +81,8 @@ const MediaPlaying = () => {
>
<icon
setup={self =>
- players.hookLastPlayer(self, "notify::entry", () => {
- const icon = `caelestia-${players.lastPlayer?.entry}-symbolic`;
+ players.hookLastPlayer(self, "notify::identity", () => {
+ const icon = `caelestia-${players.lastPlayer?.identity.toLowerCase()}-symbolic`;
self.icon = players.lastPlayer
? Astal.Icon.lookup_icon(icon)
? icon