mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2025-02-22 12:33:05 -05:00
+ vifm: improve preview scripts + lite-xl: change fonts' locations + neovim: update config for nvim-tree.lua
19 lines
495 B
Bash
Executable File
19 lines
495 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PREVIEW_TEXT="ABCDEFGHIJKLM\nNOPQRSTUVWXYZ\nabcdefghijklm\nnopqrstuvwxyz\n1234567890\n!@$\%<>(){}[]\n== != => <=\n愛してるおかえりなさい\n \n😀👌🙋🐱🦀⛈ 🏀🛠"
|
|
BG="#2e3440"
|
|
FG="#eceff4"
|
|
|
|
if [ "$#" -ne 2 ]; then
|
|
echo "Usage: $0 filename output_image"
|
|
exit 1
|
|
fi
|
|
|
|
convert -size 800x800 xc:"$BG" \
|
|
-gravity center \
|
|
-pointsize 40 \
|
|
-font "$1" \
|
|
-fill "$FG" \
|
|
-annotate +0+0 "$PREVIEW_TEXT" \
|
|
-flatten "$2"
|