#!/bin/sh
set -eux

# Derived from:
# https://github.com/porras/dmenu-emoji

LIST="$HOME/dev/libre/dotfiles/xmonad/scripts/emoji-list.txt"

dmenu                           \
  -l 20                         \
  -i                            \
  -p 'Emoji: ' -fn Monospace-18 \
  < "$LIST"                     \
  | awk '{print $(NF)}' | tr -d '\n' | xclip -sel clip
