1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-12-22 14:54:23 +00:00
config-fish/functions/telegram-emoji.fish

7 lines
256 B
Fish

function telegram-emoji
echo_progress "Processing "
echo_highlight "$argv[1]"
echo_progress "..."
echo
magick -background none "$argv[1]" -resize "100x100^" -gravity center -extent 100x100 $argv[2..-1] "$argv[1].telegram-emoji.png"
end