kaomoji-rofi/kaomoji.sh

4 lines
161 B
Bash
Executable File

selection=$(rofi -i -dmenu $@ < $(dirname $0)/kaomoji.txt)
kaomoji=$(echo $selection | sed "s|$(echo -e "\ufeff").*||")
xdotool type --clearmodifiers "$kaomoji"