Feature: Show Plexamp icon in media notifications
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user