#!/usr/bin/env bash cb="$(wl-paste)" e=$(worf --show emoji --emoji-stdout true --emoji-hide-string true --columns 4 --content-halign=center --width 600 --style "${HOME}/.config/worf/emoji.css") if [[ -z "${e}" ]];then echo "no emoji selected" wl-copy "${cb}" exit 1 fi #echo "${e}" wl-copy "${e}" ydotool key 29:1 47:1 47:0 29:0 wl-copy "${cb}"