diff options
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/rofiunicode (renamed from .local/bin/dmenuunicode) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/dmenuunicode b/.local/bin/rofiunicode index 2d4bf38..d6d4239 100755 --- a/.local/bin/dmenuunicode +++ b/.local/bin/rofiunicode @@ -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/chars/* | dmenu -i -l 30 | sed "s/ .*//") +chosen=$(cut -d ';' -f1 ~/.local/share/chars/* | rofi -dmenu -i -l 30 | sed "s/ .*//") # Exit if none chosen. [ -z "$chosen" ] && exit -xdotool type "$chosen" -printf "$chosen" | xclip -selection clipboard +wtype "$chosen" +printf "$chosen" | wl-copy notify-send "'$chosen' copied to clipboard." & |
