diff --git a/README.md b/README.md index 44e349a3..e58bff09 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ path: `/var/lib/pleroma/` includes also emojis from: - https://fedi.absturztau.be/emoji-packs/index.html -**notice** +#### notice please consider adding emojis to `emoji.txt`! @@ -17,3 +17,12 @@ example: foo, /emoji/custom/foo.png, Tag1,Tag2 bla, /emoji/custom/bla.png ``` + +#### add new pack +``` +newpack='MYSTUFF' + +cd static/emoji/"$newpack" +for file in $(dir); do printf '%s, /emoji/%s/%s\n' "${file%.*}" "$newpack" "$file" >> tmp.txt ; done +sort -o emoji.txt tmp.txt ; rm tmp.txt +```