mirror of
https://git.envs.net/envs/pleroma-custom.git
synced 2024-11-10 13:09:26 +01:00
add helper to create new emoji.txt file
This commit is contained in:
parent
55fd32d57f
commit
4c8c44f40b
1 changed files with 10 additions and 1 deletions
11
README.md
11
README.md
|
@ -8,7 +8,7 @@ path: `/var/lib/pleroma/`
|
||||||
includes also emojis from:
|
includes also emojis from:
|
||||||
- https://fedi.absturztau.be/emoji-packs/index.html
|
- https://fedi.absturztau.be/emoji-packs/index.html
|
||||||
|
|
||||||
**notice**
|
#### notice
|
||||||
|
|
||||||
please consider adding emojis to `emoji.txt`!
|
please consider adding emojis to `emoji.txt`!
|
||||||
|
|
||||||
|
@ -17,3 +17,12 @@ example:
|
||||||
foo, /emoji/custom/foo.png, Tag1,Tag2
|
foo, /emoji/custom/foo.png, Tag1,Tag2
|
||||||
bla, /emoji/custom/bla.png
|
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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue