#!/bin/sh emoji=$(curl -s https://raw.githubusercontent.com/jchook/emoji-menu/master/data/emojis.txt | dmenu -i -p "Emojis" -l 20) chosen=$(echo "$emoji" | awk '{print $1}') printf "%s" "$chosen" | xclip -sel c notify-send "$chosen copied to clipboard" & xdotool type "$chosen"