diff --git a/functions/gen-emoji-akkoma.fish b/functions/gen-emoji-akkoma.fish index 713d827..71e4ca9 100644 --- a/functions/gen-emoji-akkoma.fish +++ b/functions/gen-emoji-akkoma.fish @@ -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 diff --git a/functions/gen-emoji-discord.fish b/functions/gen-emoji-discord.fish index 0d76e37..0c6c60a 100644 --- a/functions/gen-emoji-discord.fish +++ b/functions/gen-emoji-discord.fish @@ -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 diff --git a/functions/gen-emoji-telegram.fish b/functions/gen-emoji-telegram.fish index 3e5e7bd..600e87a 100644 --- a/functions/gen-emoji-telegram.fish +++ b/functions/gen-emoji-telegram.fish @@ -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