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

Fix something in emoji generation

This commit is contained in:
Steffo 2024-10-28 12:40:50 +01:00
parent 5d4cf5202f
commit cb6235c606
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

@ -4,7 +4,7 @@ if [ $status -eq 0 ]
log-t "Creating" "Telegram" "directory..."
command mkdir --parents "Telegram"
log-d "Processing" "$argv[1]" "for Telegram use..."
command magick -background none "$argv[1]" -resize "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]"
log-t "Done! Emoji added to the" "Telegram" "directory!"
end
end