13 lines
352 B
Bash
Executable file
13 lines
352 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
cb="$(wl-paste)"
|
|
e=$(worf --show emoji --emoji-stdout true --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 29:1 47:1 47:0 29:0
|
|
wl-copy "${cb}"
|