diff options
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/dmenuunicode (renamed from .local/bin/unicode_emoji) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/unicode_emoji b/.local/bin/dmenuunicode index 91ff6fe..2d4bf38 100755 --- a/.local/bin/unicode_emoji +++ b/.local/bin/dmenuunicode @@ -3,11 +3,11 @@ # The famous "get a menu of emojis to copy" script. # Get user selection via dmenu from emoji file. -chosen=$(cut -d ';' -f1 ~/.local/share/emoji | dmenu -i -l 30 | sed "s/ .*//") +chosen=$(cut -d ';' -f1 ~/.local/share/chars/* | dmenu -i -l 30 | sed "s/ .*//") # Exit if none chosen. [ -z "$chosen" ] && exit -xdotool type "$chosen" +xdotool type "$chosen" printf "$chosen" | xclip -selection clipboard notify-send "'$chosen' copied to clipboard." & |
