summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorshunlog <48106195+shunlog@users.noreply.github.com>2021-02-28 23:08:51 +0200
committerGitHub <noreply@github.com>2021-02-28 16:08:51 -0500
commit73b174cedf7ed2046b40b74c82400004898d48b4 (patch)
tree8f74c1ed06047b537d765896adeedbdf004f8c37 /.local/bin
parent82c9b4669722154ceae0045728619946cfbca6db (diff)
downloadeibhear-73b174cedf7ed2046b40b74c82400004898d48b4.tar.gz
eibhear-73b174cedf7ed2046b40b74c82400004898d48b4.tar.zst
eibhear-73b174cedf7ed2046b40b74c82400004898d48b4.zip
Noobish mistake (#906)
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/dmenuunicode2
1 files changed, 1 insertions, 1 deletions
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