From 77a633099677020c6c265e58a945fd7e57dee59c Mon Sep 17 00:00:00 2001 From: boredpasta Date: Sun, 3 Sep 2023 23:37:42 +0300 Subject: Get rid of superfluous unsets --- mpc-notify | 7 ------- 1 file changed, 7 deletions(-) (limited to 'mpc-notify') diff --git a/mpc-notify b/mpc-notify index 5320d5c..2ed025f 100755 --- 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 -- cgit v1.2.3