diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-28 16:11:40 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-28 16:11:40 +0900 |
| commit | 135fc5ae3e439913786a473aea7dd18f2beee879 (patch) | |
| tree | d15d5b94fd1c9008a83d785caaf2017d48cbf684 /ar | |
| parent | ce01e9554fd5f2b28fab5cf8fd86d8a1b3655547 (diff) | |
modified bin/emojiupdate, modified chars/font-awesome
Diffstat (limited to 'ar')
| -rwxr-xr-x | ar/.local/bin/emojiupdate | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ar/.local/bin/emojiupdate b/ar/.local/bin/emojiupdate index a38faab..861c9b0 100755 --- a/ar/.local/bin/emojiupdate +++ b/ar/.local/bin/emojiupdate @@ -1,5 +1,21 @@ #!/bin/sh +## +## For fontawesome icons update, run the command block in terminal. +## +# curl -sSL -o icons_raw.json "https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/metadata/icons.json" && +# jq -r 'to_entries[] | select(.value.unicode) | .value.unicode + " " + .key' "icons_raw.json" | +# while read -r hex name; do +# hex_uc=$(printf '%s' "$hex" | tr '[:lower:]' '[:upper:]') +# if [ "${#hex_uc}" -le 4 ]; then +# unicode="\\u$hex_uc" +# else +# unicode="\\U$(printf '%08X' "0x$hex_uc")" +# fi +# +# printf "%b %s; %s\n" "$unicode" "$name" "$hex" +# done > "${XDG_DOTFILES_DIR:-$HOME/.dotfiles}/global/.local/share/thesiah/chars/icons" + # Define input and output files URL="https://unicode.org/Public/emoji/latest/emoji-test.txt" INPUT_FILE="${XDG_DOTFILES_DIR:-${HOME}/.dotfiles}/global/.local/share/thesiah/chars/emoji_raw" |
