#!/bin/sh

DIR=$HOME/.config/rofi
FILE="$DIR/unicode.txt"

if [ "$@" ]
then
  smiley=$(echo "$@" | cut -d' ' -f1)
  echo -n "$smiley" | xsel -bi
  exit 0
fi

cat "$FILE"
