[scripts/copy-text-face.sh] remove extra newline

This commit is contained in:
Dmytro Meleshko 2019-09-04 19:22:58 +03:00
parent 8cd4c6f752
commit 2c5edc2072
1 changed files with 1 additions and 1 deletions

View File

@ -8,6 +8,6 @@ declare -A faces=(
if IFS=$'\n' face_name="$(echo -e "${!faces[*]}" | rofi -dmenu)"; then
face="${faces[$face_name]}"
xsel --clipboard --input <<< "$face"
echo -n "$face" | xsel --clipboard --input
notify-send --icon=utilities-terminal --expire-time=2500 "$0" "$face_name copied to clipboard"
fi