diff --git a/shmoji b/shmoji index 47154f5..f6465d0 100755 --- a/shmoji +++ b/shmoji @@ -29,7 +29,7 @@ case "$cmd" in command -v bemenu > /dev/null || die 'bemenu not found' command -v wtype > /dev/null || die 'wtype not found' emoji=$(cat "$emojidb/emojis.txt" | bemenu -c -W 0.2 -l 20) - printf "%s" "$emoji" | cut -d " " -f 1 | wtype - + printf "%s" "$emoji" | cut -d " " -f 1 | tr -d '\n' | wtype - ;; *) printf "%s\n" "usage: shmoji [bemenu | download]"