1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Fix typo 'emoij' in rofi-emoji

This commit is contained in:
Joe Groocock 2018-04-17 11:34:21 +01:00
parent 1d590fe8c6
commit fff7fa1452
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -97,13 +97,13 @@ function display() {
quantifier="${last:${#last}-1:1}"
echo "$quantifier" | egrep -q '^[0-9]+$' || quantifier=1
emoijs="$(repeat "${line[0]}" "$quantifier")"
emojis="$(repeat "${line[0]}" "$quantifier")"
if [ $exit_code == 0 ]; then
xdotool type --clearmodifiers "$emoijs"
echo -n "$emoijs" | xclip -i
xdotool type --clearmodifiers "$emojis"
echo -n "$emojis" | xclip -i
elif [ $exit_code == 10 ]; then
echo -n "$emoijs" | xclip -i
echo -n "$emojis" | xclip -i
fi
}