diff --git a/assets/icons/caelestia-feishin-symbolic.svg b/assets/icons/caelestia-feishin-symbolic.svg new file mode 100644 index 00000000..f1524cc8 --- /dev/null +++ b/assets/icons/caelestia-feishin-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/modules/bar.tsx b/modules/bar.tsx index b97d4af4..b8e9f0bf 100644 --- a/modules/bar.tsx +++ b/modules/bar.tsx @@ -81,8 +81,8 @@ const MediaPlaying = () => { > - 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