1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash list="$(grep -v "#" ~/.local/share/script-data/emoji)" if [ "$ROFI_RETV" != 0 ]; then c=$(echo "$1" | cut -f1) echo "$c" | tr -d '\n' | wl-copy notify-send "'$c' copied to clipboard." exit fi echo -ne "\0prompt\x1fChoose emoji\n" printf "%s" "$list"