From 73b174cedf7ed2046b40b74c82400004898d48b4 Mon Sep 17 00:00:00 2001 From: shunlog <48106195+shunlog@users.noreply.github.com> Date: Sun, 28 Feb 2021 23:08:51 +0200 Subject: [PATCH] Noobish mistake (#906) --- .local/bin/dmenuunicode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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