aboutsummaryrefslogtreecommitdiffstats
path: root/.config/init/funcs/mpd-cover-convert
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2024-10-11 07:50:00 +1000
committerkatherine <ageha@airen-no-jikken.icu>2024-10-11 07:50:00 +1000
commit913372f3854d1580d6aaf1e1de2f65049ba00579 (patch)
tree2a4f8a729d7bafb4f1fb84eee7dd578f8a558c0c /.config/init/funcs/mpd-cover-convert
parent78652fc12b69150ebd82b95fb80c1ddd9422fcdb (diff)
downloaddotfiles-913372f3854d1580d6aaf1e1de2f65049ba00579.tar.gz
convert -> magick in mpd-cover-convert
Diffstat (limited to '.config/init/funcs/mpd-cover-convert')
-rwxr-xr-x.config/init/funcs/mpd-cover-convert2
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) &