mpc-notify

mpd/ncmpcc notifications with album covers
git clone https://git.pastanoggin.com/mpc-notify.git
Log | Files | Refs | README

commit 77a633099677020c6c265e58a945fd7e57dee59c
parent 84b15a791a13bb048566afe8c0ef8c9114d8fa24
Author: boredpasta <boredpasta@tutanota.com>
Date:   Sun,  3 Sep 2023 23:37:42 +0300

Get rid of superfluous unsets

Diffstat:
Mmpc-notify | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/mpc-notify b/mpc-notify @@ -149,16 +149,9 @@ if [ "$use_preview" -eq 1 ]; then song_icon="$default_song_icon" fi fi - unset song_dirname fi - unset preview_path fi -unset xdg_music_dir song_filename song_album_name # now send the actual notification song_body="$(mpc --format '[%title%[ \n%artist% - %album%]]|[%file%]' current)" notify-replace 'mpc-notify' "$song_head" "$song_body" -i "$song_icon" -u low - -# cleanup -unset command preview_dir preview_width preview_height default_song_icon \ - use_preview song_head song_body song_icon