2024-01-08 20:50:29 +01:00

13 lines
163 B
Bash
Executable File

#!/bin/sh
FILE="$HOME/.config/rofi/emojis/emojis.txt"
if [ "$@" ]
then
smiley=$(echo $@ | cut -d' ' -f1)
echo -n "$smiley" | xsel -bi
exit 0
fi
cat $FILE