Feature: Show Plexamp icon in media notifications

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-16 03:37:01 +01:00
parent 14f72af3f2
commit 90d0e2bed0

View File

@@ -4,6 +4,11 @@
music_icon="$HOME/.config/swaync/icons/music.png" music_icon="$HOME/.config/swaync/icons/music.png"
# Use the app's own icon for known players
case "$(playerctl metadata --format '{{playerName}}' 2>/dev/null)" in
Plexamp) music_icon="com.plexamp.Plexamp" ;;
esac
# Play the next track # Play the next track
play_next() { play_next() {
playerctl next playerctl next