Last active
January 4, 2026 07:46
-
-
Save vasi/e460262fdd26a6ad8eaec2b2f0df2bad to your computer and use it in GitHub Desktop.
#dalitrixie
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| emoji="$(perl -ne 'print "$1 $2\n" if /fully-qualified.*# (\S+) E\S+ (.*)/' \ | |
| /usr/share/unicode/emoji/emoji-test.txt \ | |
| | rofi -dmenu -i -p 'Emoji' \ | |
| | awk '{print $1}')" | |
| if [ -n "$WAYLAND_DISPLAY" ]; then | |
| echo -n "$emoji" | wl-copy | |
| wtype -- "$emoji" | |
| else | |
| echo -n "$emoji" | xclip -selection clipboard | |
| sleep 0.1 | |
| xdotool key --clearmodifiers shift+Insert | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment