Untitled
#!/usr/bin/zsh socket_name=jome.socket.$(id -u) if [[ ! -e /tmp/$socket_name ]]; then jome -s $socket_name -n -w48 & disown until [[ -e /tmp/$socket_name ]]; do sleep .1 done fi emoji=$(jome-ctl $socket_name) if (($? == 0)); then sleep .02 xdotool type $emoji echo -n $emoji | xsel -b fi