Skip to content

Commit

Permalink
convert replaced by magick
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdotx committed Jun 25, 2024
1 parent 932d3a6 commit 9a713aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polybar_music.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# path: /home/klassiker/.local/share/repos/polybar/polybar_music.sh
# author: klassiker [mrdotx]
# github: https://github.com/mrdotx/polybar
# date: 2023-12-01T14:08:57+0100
# date: 2024-06-24T15:59:04+0200

# source polybar helper
. polybar_helper.sh
Expand Down Expand Up @@ -86,7 +86,7 @@ notify() {
[ -z "$stream" ] \
&& cover=$(mktemp -t polybar_music_cover.XXXXXX.png) \
&& ffmpeg -y -i "$file" -c:v copy "$cover" >/dev/null 2>&1 \
&& convert "$cover" -resize 100 "$cover" >/dev/null 2>&1
&& magick "$cover" -resize 100 "$cover" >/dev/null 2>&1

notify-send \
-u low \
Expand Down

0 comments on commit 9a713aa

Please sign in to comment.