dotfiles/de/home/.config/sway/scripts/emoji-keyboard.sh
2025-08-19 16:15:03 -07:00

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}"