summarylogtreecommitdiffstats
path: root/mememaker
diff options
context:
space:
mode:
authorConnor Behan2022-04-18 23:30:20 +0100
committerConnor Behan2022-04-18 23:30:20 +0100
commitd8f72389190b407ec5a368e64cfa018d981f7314 (patch)
tree42cfb2156c030e3bbaeb2a358944702a86f06c2c /mememaker
parentb377cf410f78802016031e3602cf6fd1163783c8 (diff)
downloadaur-d8f72389190b407ec5a368e64cfa018d981f7314.tar.gz
Forgot this
Diffstat (limited to 'mememaker')
-rw-r--r--mememaker4
1 files changed, 2 insertions, 2 deletions
diff --git a/mememaker b/mememaker
index eb2dc325f4cf..e83669b9f3c5 100644
--- a/mememaker
+++ b/mememaker
@@ -17,11 +17,11 @@ create_meme() {
top="$(echo $top | fold -s -w $letters_per_line)"
bottom="$(echo $bottom | fold -s -w $letters_per_line)"
- [[ -n "$bottom" ]] && convert -font /usr/share/fonts/TTF/Impact.ttf -pointsize 35 \
+ [[ -n "$bottom" ]] && convert -font /usr/share/fonts/TTF/Impact.TTF -pointsize 35 \
-background '#0000' -fill white -stroke black -strokewidth 2 \
-gravity south -size ${width}x${height} label:"$bottom" /tmp/out.png +swap \
-gravity center -composite /tmp/out.png
- [[ -n "$top" ]] && convert -font /usr/share/fonts/TTF/Impact.ttf -pointsize 35 \
+ [[ -n "$top" ]] && convert -font /usr/share/fonts/TTF/Impact.TTF -pointsize 35 \
-background '#0000' -fill white -stroke black -strokewidth 2 \
-gravity north -size ${width}x${height} label:"$top" /tmp/out.png +swap \
-gravity center -composite /tmp/out.png