We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05d29dc commit c164c4cCopy full SHA for c164c4c
contrib/cliphist-wofi-img
@@ -30,7 +30,7 @@ read -r -d '' prog <<EOF
30
/^[0-9]+\s<meta http-equiv=/ { next }
31
match(\$0, /^([0-9]+)\s(\[\[\s)?binary.*(jpg|jpeg|png|bmp)/, grp) {
32
image = grp[1]"."grp[3]
33
- system("[ -f $thumb_dir/"image" ] || echo " grp[1] "\\\\\t | cliphist decode | convert - -resize '256x256>' $thumb_dir/"image )
+ system("[ -f $thumb_dir/"image" ] || echo " grp[1] "\\\\\t | cliphist decode | magick - -resize '256x256>' $thumb_dir/"image )
34
print "img:$thumb_dir/"image
35
next
36
}
0 commit comments