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

Telegram emojis should be webp

This commit is contained in:
Steffo 2024-11-27 13:45:11 +01:00
parent a012d5b804
commit dc1c532cc4
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -4,7 +4,7 @@ if [ $status -eq 0 ]
log-t "Creating" "Telegram" "directory..." log-t "Creating" "Telegram" "directory..."
command mkdir --parents "Telegram" command mkdir --parents "Telegram"
log-d "Processing" "$argv[1]" "for Telegram use..." log-d "Processing" "$argv[1]" "for Telegram use..."
command magick -background none "$argv[1]"'[100x100]' -gravity 'center' -extent '100x100' $argv[2..-1] "Telegram/$argv[1]" command magick -background none "$argv[1]"'[100x100]' -gravity 'center' -extent '100x100' $argv[2..-1] "Telegram/$argv[1].webp"
log-t "Done! Emoji added to the" "Telegram" "directory!" log-t "Done! Emoji added to the" "Telegram" "directory!"
end end
end end