From 135fc5ae3e439913786a473aea7dd18f2beee879 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 28 Jun 2025 16:11:40 +0900 Subject: modified bin/emojiupdate, modified chars/font-awesome --- ar/.local/bin/emojiupdate | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ar') 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" -- cgit v1.2.3