Noobish mistake (#906)

This commit is contained in:
shunlog 2021-02-28 23:08:51 +02:00 committed by GitHub
parent 82c9b46697
commit 73b174cedf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,6 @@ chosen=$(cut -d ';' -f1 ~/.local/share/larbs/emoji | dmenu -i -l 30 | sed "s/ .*
if [ -n "$1" ]; then
xdotool type "$chosen"
else
echo "$chosen" | tr -d '\n' | xclip -selection clipboard
printf "$chosen" | xclip -selection clipboard
notify-send "'$chosen' copied to clipboard." &
fi