summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-15 14:36:19 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-15 14:36:19 +1100
commitf1298fbb29293db3525e8ba7dac66513519d142c (patch)
treecf86702e9c07e772338378a4bb6f6dc7ad71f261 /modules
parentbar: fix network wired indicator (diff)
downloadcaelestia-shell-f1298fbb29293db3525e8ba7dac66513519d142c.tar.gz
caelestia-shell-f1298fbb29293db3525e8ba7dac66513519d142c.tar.bz2
caelestia-shell-f1298fbb29293db3525e8ba7dac66513519d142c.zip
bar: media use identity
Use identity instead of entry cause some players don't have an entry (e.g. feishin) Add feishin icon
Diffstat (limited to 'modules')
-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