From fae1b51643c9d105760666dab5cef471f4d6042b Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Fri, 27 Jun 2025 17:13:29 +0900 Subject: modified tmux/tmux.conf, modified bin/emojiupdate --- ar/.local/bin/emojiupdate | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ar/.local/bin') 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 -- cgit v1.2.3