Based on https://wiki.archlinux.org/title/Ncmpcpp#With_album_art
mpc-notify: sends notification of currently playing MPD music accompanied
by album cover art.
# Dependencies:
ffmpeg
flock
mpc
notify-send
notify-replace (in this repo)
recommended:
- a home directory setup with xdg-user-dirs (for finding your music
directory)
- for dunst users: a configuration file as images don't work without it
(haven't investigated the reason yet)
# For getting notifications on media keys:
Bind media key to calls to mpc-notify instead of mpc or other media controllers.
# For getting notifications on song change:
Add execute_on_song_change = "mpc-notify" to your ncmpcpp's configuration file.