aboutsummaryrefslogtreecommitdiff
path: root/dmenuDic.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dmenuDic.sh')
-rwxr-xr-xdmenuDic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenuDic.sh b/dmenuDic.sh
index 0f25a80..b819e1b 100755
--- a/dmenuDic.sh
+++ b/dmenuDic.sh
@@ -9,5 +9,5 @@ elif [ "$dict" = "ES" ]; then
word="$(dmenu -i -l 10 -p "Elige una palabra:" < /usr/share/dict/palabras.txt)"
fi
[ "$word" ] || exit 0
-echo "$word" | xsel -bi
+echo "$word" | tr -d '\n' | xsel -bi
dunstify -t 2000 "Written [$word] into clipboard."