this repo has no description
at main 370 B view raw
1#!/usr/bin/env bash 2 3EMOJI_FILE="$HOME/.local/state/emoji.json" 4if [ ! -f "$EMOJI_FILE" ]; then 5 mkdir -p "$(dirname "$EMOJI_FILE")" 6 curl -sSL https://raw.githubusercontent.com/muan/emojilib/refs/heads/main/dist/emoji-en-US.json -o "$EMOJI_FILE" 7fi 8 9jq -r 'to_entries[] | "\(.key)\t\(.value[])"' "$EMOJI_FILE" \ 10 | bemenu -i -p "emoji: " \ 11 | cut -f1 \ 12 | wl-copy