#!/usr/bin/env bash cb="$(wl-paste)" e=$(worf --show emoji --text-output-mode StandardOutput --emoji-hide-string true --columns 6 --content-halign=center --width 550 --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 42:1 110:1 110:0 42:0 wl-copy "${cb}"