This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dependencies: `uni`, `kitty`, `wtype` or `xdotool`, `fzf`, `wl-clipboard` or `xclip` | |
# `uni` project: https://github.com/arp242/uni | |
# Usage: `chmod a+x emoji.bash`, then run the script whenever you need to pick emojis | |
SCRIPT_DIR=$(dirname "$(realpath "$0")") | |
export EMOJI_CHAR_PATH="/tmp/unicode_result-$USER.txt" | |
touch "$EMOJI_CHAR_PATH" | |
if [ -n "$WAYLAND_DISPLAY" ]; then |