diff options
author | katherine <ageha@airen-no-jikken.icu> | 2024-10-11 07:50:00 +1000 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2024-10-11 07:50:00 +1000 |
commit | 913372f3854d1580d6aaf1e1de2f65049ba00579 (patch) | |
tree | 2a4f8a729d7bafb4f1fb84eee7dd578f8a558c0c | |
parent | 78652fc12b69150ebd82b95fb80c1ddd9422fcdb (diff) | |
download | dotfiles-913372f3854d1580d6aaf1e1de2f65049ba00579.tar.gz |
convert -> magick in mpd-cover-convert
-rwxr-xr-x | .config/init/funcs/mpd-cover-convert | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/init/funcs/mpd-cover-convert b/.config/init/funcs/mpd-cover-convert index d9d7a2c..3c81bfb 100755 --- a/.config/init/funcs/mpd-cover-convert +++ b/.config/init/funcs/mpd-cover-convert @@ -9,7 +9,7 @@ source "$HOME/.config/init/helpers" || exit 1 find ~/music -type f -regextype posix-extended -regex ".*cover\.(png|jpg)"\ | while read file; do if [[ ! -f "${file:h}/cover-small.png" ]]; then - convert "$file" -resize 250x "${file:h}/cover-small.png" + magick "$file" -resize 250x "${file:h}/cover-small.png" fi done) & |