executable_unicode.sh

 1#!/bin/sh
 2
 3DIR=$HOME/.config/rofi
 4FILE="$DIR/unicode.txt"
 5
 6if [ "$@" ]
 7then
 8  smiley=$(echo "$@" | cut -d' ' -f1)
 9  echo -n "$smiley" | xsel -bi
10  exit 0
11fi
12
13cat "$FILE"