diff options
author | boredpasta <boredpasta@tutanota.com> | 2023-09-03 23:37:42 +0300 |
---|---|---|
committer | boredpasta <boredpasta@tutanota.com> | 2023-09-03 23:37:42 +0300 |
commit | 77a633099677020c6c265e58a945fd7e57dee59c (patch) | |
tree | dc890fcb07ffa7b0a1fcdfd439aaeebb64299ac4 | |
parent | 84b15a791a13bb048566afe8c0ef8c9114d8fa24 (diff) |
Get rid of superfluous unsets
-rwxr-xr-x | mpc-notify | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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 |