#!/bin/bash response=$(cat $HOME/.local/share/emoticons.txt | dmenu -F -i) emoticon=$(echo $response | sed 's/\w+//gi' | awk '{print $1}') echo $emoticon | tr -d '\n' | xclip -selection clipboard;