diff --git a/.local/bin/dmenuunicode b/.local/bin/dmenuunicode index de1421b..7d9a4ea 100755 --- a/.local/bin/dmenuunicode +++ b/.local/bin/dmenuunicode @@ -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