dotfiles/de/home/.config/sway/scripts/emoji-keyboard.sh
2025-09-12 22:45:01 -07:00

13 lines
368 B
Bash
Executable file

#!/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}"