diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-27 17:13:29 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-27 17:13:29 +0900 |
| commit | fae1b51643c9d105760666dab5cef471f4d6042b (patch) | |
| tree | 908be4373901081967b3eb41c7e859af79fe2c60 /ar/.local/bin | |
| parent | 7dae83b76e135c5ba07fb78d9c402393cc51c3bb (diff) | |
modified tmux/tmux.conf, modified bin/emojiupdate
Diffstat (limited to 'ar/.local/bin')
| -rwxr-xr-x | ar/.local/bin/emojiupdate | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ar/.local/bin/emojiupdate b/ar/.local/bin/emojiupdate index cc2f1c5..a38faab 100755 --- a/ar/.local/bin/emojiupdate +++ b/ar/.local/bin/emojiupdate @@ -2,9 +2,9 @@ # Define input and output files URL="https://unicode.org/Public/emoji/latest/emoji-test.txt" -INPUT_FILE="${XDG_DATA_HOME:-${HOME}/.local/share}/thesiah/char/emoji_raw" -TEMP_FILE="${XDG_DATA_HOME:-${HOME}/.local/share}/thesiah/char/emoji_temp" -OUTPUT_FILE="${XDG_DATA_HOME:-${HOME}/.local/share}/thesiah/char/emoji" +INPUT_FILE="${XDG_DOTFILES_DIR:-${HOME}/.dotfiles}/global/.local/share/thesiah/chars/emoji_raw" +TEMP_FILE="${XDG_DOTFILES_DIR:-${HOME}/.dotfiles}/global/.local/share/thesiah/chars/emoji_temp" +OUTPUT_FILE="${XDG_DOTFILES_DIR:-${HOME}/.dotfiles}/global/.local/share/thesiah/chars/emoji" # Create the directory for output files if it doesn't exist mkdir -p "$(dirname "$INPUT_FILE")" @@ -39,7 +39,7 @@ awk ' awk -F'#' ' { if (NF >= 2) { - full_data = $2 # Extract the emoji and description (after #) + full_data = $2 # Extract the emoji and description (after #) gsub(/^[[:space:]]+|[[:space:]]+$/, "", full_data) # Trim spaces around the entire field split(full_data, parts, " ") # Split into parts by spaces |
