kaomoji-rofi/kaomoji.sh

6 lines
182 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2018-11-13 18:52:27 +01:00
selection=$(rofi -i -dmenu $@ < $(dirname $0)/kaomoji.txt)
kaomoji=$(echo $selection | sed "s|$(echo -e "\ufeff").*||")
xdotool type --clearmodifiers "$kaomoji"